Re: [PHP] How do I show the sourse code?

2002-07-27 Thread Michael Sims

On Sun, 28 Jul 2002 03:41:19 +0200, you wrote:

>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 <>)

http://www.php.net/manual/en/function.highlight-file.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] How do I show the sourse code?

2002-07-27 Thread Bob Lockie

>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 <>)

Probably some PHP wrapper that highlights the right portions of the code
and sends it back.
I don't know where you can grab one from but it shouldn't be too difficult to make 
your own.




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php