Re: [PHP] Re: showing source

2007-05-20 Thread tedd
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

Re: [PHP] Re: showing source

2007-05-18 Thread Tijnema !
On 5/18/07, Steve <[EMAIL PROTECTED]> wrote: Not that it really matters in this scenario, but if you rename a file to .phps you should be able to navigate to it in a web browser and have nice, highlighted syntax. It's pretty nice for internally viewing a file, but obviously I wouldn't recommend d

Re: [PHP] Re: showing source

2007-05-18 Thread Christian Haensel
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 a