You're only receiving the processed results when you source the php file from another server. In other words, it's like viewing the web page through your browser.
-----Original Message----- > If the script is run over the web, you can just do a > fopen("http://www.example.com/script.php"); and read the result. You can > do the same for any other script that's run through the web b/c you'll > receive it's parsed output, not the source. But apache won't parse CGI-scripts for php syntax, will they? And that seems like a bad work-around. **************************************************************************** This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete the message. Thank you very much. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php