printing a php file as a text file

From: Date: Thu, 18 May 2000 06:07:14 +0000
Subject: printing a php file as a text file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-150@lists.php.net to get a copy of this message
How would I go outputting my PHP file as a text file -- for example, I have a set of scripts that I plan to release to the public and would like to make this script viewable through PHP without having to call a text file. I know I have seen this somewhere and I'm wondering if any of you guys know how to do this.. In case the above was confusing, I want to have a link that will allow the user to view the source code (and have it print out the code without executing it). Chris

« previous php.general (#150) next »