Re: get code out of file
| From: | Jeff Wolkove | Date: | Sat, 29 Jul 2000 05:55:00 +0000 |
| Subject: | Re: get code out of file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-8922@lists.php.net to get a copy of this message | ||
Instead of including it in the page, I would suggest that you
use another page to read the file at run time and display it.
That way the code won't get interpreted or executed. Then
you can reuse that same code to display any other file you
want.
Jeff
Tyler Longren wrote:
>
> I've got some php code stored in a text file. How can I print that code to
> a webpage without it being highlighted OR being executed?
>
> Thanks!
> Tyler Longren
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net