RE: printing a php file as a text file
[email protected] ("Ted Knudson")
| Newsgroups | php.general |
|---|---|
| Message-ID | <001701bfc154$577285c0$11e1a03f@pentium> |
What you are looking for is show_source(). Ted Knudson http://www.automatedcabinets.com http://www.pulsarusa.com > -----Original Message----- > From: Chris Sano [mailto:[email protected]] > Sent: Thursday, May 18, 2000 1:07 AM > To: [email protected] > Subject: printing a php file as a text file > > > > 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 > >