Re: plain php code
| From: | David Robley | Date: | Wed, 05 Jul 2000 01:30:23 +0000 |
| Subject: | Re: plain php code | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4850@lists.php.net to get a copy of this message | ||
On 4 Jul, Tyler Longren wrote:
>
> Hello all-
>
> How could I print out plain php code? Not highlighted. The code is stored
> in a .txt file on my web server.
>
> Thanks,
> Tyler Longren
>
I assume that you mean 'print to browser'; if you simply open the file
with a browser, the .txt extension shiould cause it to be displayed as
plain text. Alternatively, you could include() it into a php script and
enclose it in <PRE> tags.
Cheers
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA