Re: How do I show the sourse code?
| From: | David Robley | Date: | Sun, 28 Jul 2002 23:17:07 +0000 |
| Subject: | Re: How do I show the sourse code? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-110074@lists.php.net to get a copy of this message | ||
In article <20020728014252.16566.qmail@pb1.pair.com>, ha@ematte.se says...
> I have seen on some of the script-sites around some nice ways of presenting
> the source code. Often in nice colors. So, the natural question is: how is
> that done (cause I don't think anyone has the patience to put < and >
> around all the <>)
If you are using php v4 you can do this with show_source(), or if using
apache, you can configure it to serve source code with syntax highlighting
rather than parsing the code.
Cheers
--
David Robley
Temporary Kiwi!
Quod subigo farinam