Alain, The PHP engine can only process php code in files on your local filesystem(*). It just so happens that PHP is smart enough to realize that if a file is not entirely PHP code, the rest must be meant for output to the client (which can be ANY device, not just a human behind a browser). When you include an external resource URL, this is exactly what happens, there is no php code that is seen by your script--it then outputs the results of the external URL to the client that is accessing your resource.
(*) Network shares and other like resources are transparently (and sometimes temporarily) attached to your filesystem by the operating system. Hippie, I wonder if apache/PHP on windows will allow it? You could always move to a superior OS....<g> Try this: $fp = fopen('http://www.yourtarget.com/include.html'); fpassthru($fp); fclose($fp); -----Original Message----- Humm, I do not know if I understand you... If you include a file in your server A, it will run in your server locally as part of your code. Now if the included file is located at another server B, it should be all the same, the included file will run as part of your code in server A, isn't it? A+ Alain -----Original Message----- I'm not using it to include remote php files as I assumed it would still onlu be able to process the file after it was parsed by the remote system. I do however need to include remote html files which should not be affected by this problem. Hippie. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]