Alternatives to IFRAME command?

Entity

Lifer
Oct 11, 1999
10,090
0
0
At work, we have two servers - one is an individual webapps server where we host PHP programs, etc., and the other is our "outside" server. Our webapps server isn't visible to the public, for security and other reasons, but is called on from the outside server. The easiest way I've been able to do this, so far, is using the IFRAME command. However, I'm trying to find a way to do this, with PHP or otherwise, that doesn't involve IE-specific HTML commands. How can I do this?

Specifically, we have a PHP program running on our "webapps" server that, when viewed using PHP includes, doesn't properly display graphics, etc. I can provide a screenshot if needed; what appears to happen is that all links (which are relative) end up becoming relative to the outside server, and everything screws up.

Any suggestions?

My apologies if this makes little sense. I still haven't had my coffee yet. :)

Rob
 

Czar

Lifer
Oct 9, 1999
28,510
0
0
iframe is just like a frame so if it can be showed in iframe it can be showed anywhere so your app server is accesable from the outside.

iframe also only works in IE, for mozilla and netscape you have to use ilayer.

how is it set up?
 

Entity

Lifer
Oct 11, 1999
10,090
0
0
Thanks for the ilayer tip. I'll check that out.

I'm running a set of programs (PHP Photo Gallery, Calendar, etc.) but my boss doesn't want everyone seeing the URL of our site, especially until we get security tightened down as much as possible. Anyway, the "public" server, provided by our University, is slow as s*it and doesn't allow for PHP and imposes a number of other restrictions. So we have, upon occasion, programs that rely on MySQL and PHP (dynamic links databases, etc.) being called from the external server, and I want to find the best way to do that.

For example, if you want to add a link to our page, you click "links," which is really an IFRAME opening up to our webapps server, connecting to our webapps mysql database, etc.

Rob
 

Czar

Lifer
Oct 9, 1999
28,510
0
0
you can also use php to load up pages from another server and output it like it is on your server, with that no one can know where your main server is.
 

Entity

Lifer
Oct 11, 1999
10,090
0
0


<< you can also use php to load up pages from another server and output it like it is on your server, with that no one can know where your main server is. >>


Czar,

How would I go about that? Neither virtual or include will work for this purpose, because when a PHP document includes relative URLS (for example, a document on webapps is set for /test/testing.html), the external server ends up looking for http://externalserver/test/testing.html rather than http://internalserver/test/testing.html.

Rob
 

Czar

Lifer
Oct 9, 1999
28,510
0
0
You have to let php load the page on the other page in a string, you can do that somehow, not sure exactly

http://www.zend.com

they have some code gallery that might have it.