Quote:
Originally posted by modifried
SSI won't be able to help as it has no access to any sort of URL wrapper, PHP is something that would work. When compiled with the proper configuration options, you're able to include other files via HTTP.
Keep in mind, though, you will _not_ be able to include PHP code and have it be run on the local server it's being included on.
General syntax would be:
<?php
include("http://www.yoursite.com/includes/include.htm");
?>
Any questions feel free to ICQ me.
Andy
|
hehe now lets be precise so long as we're teaching juicy the ropes on php. you CAN include remote php code, but you have to treat it well

you can pop the code as plaintext (non parsed) on one machine (SO insecure it hurts) and include it on another box and EVAL it which works fine... base64encoding and gzipping then removing the code bits helps to secure it a bit if you dont mind a 12 year old figuring it out.
but fair's fair, mod is right (and I'm sure he knew all this) you cant just include php code from remote servers as it will be parsed by apache (or whatever) before it gets to you.
dont even get me started on SOAP ;)
D