If you are on the same machine, why don't you just open the file as follows:
file:/filename.php Just don't go thru the webserver. --- Kevin Stone <[EMAIL PROTECTED]> wrote: > How can I open a local PHP script and view its code > to the browser? The > Readfile() method appears to parse and execute the > code. The Fopen() > method appears to parse and then not execute the > code, leaving a blank > screen, or at the very least displaying any non-PHP > text existing in the > script. This is obviously rare question because I > can't find any > references on this list or on Usenet. Is there a > trick to this? Or is > it simply not possible. > > Much Thanks, > Kevin Stone <[EMAIL PROTECTED]> > ===== Anas Mughal [EMAIL PROTECTED] [EMAIL PROTECTED] Tel: 973-249-6665 __________________________________________________ Do You Yahoo!? Got something to say? Say it better with Yahoo! Video Mail http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php