Re: Re: showing source

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 12:16 PM +0200 5/18/07, Christian Haensel wrote:
Why don't you use:
highlight_file(__FILE__) ?

OMG

I have been coding that thing for MONTHS now... just to get syntax highlighting for my tutorial blog... maybe I shouldn't write tutorials... maybe I should rather read them *g*

Thanks for this short, but awesome answer :o) I wasn't the one asking the question, but nonetheless you have just wrecked my weekend :oP If I could kick my own rear end, I would do so´for the next two days...

Cheers mate, and have a great weekend!

Chris

Chris:

There might come a time where you do not want to show ALL of the inter-workings of your script, if so, then please review this:

http://sperling.com/a/show-code/

Cheers,

tedd
--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux