Re: [PHP] PHP source display

2003-10-11 Thread Evan Nemerson
The functions Ryan is talkink about are show_source, highlight_file, and highlight_string, but they're a bit more work than getting *.phps files to work. I'm no apache wizard, and I don't know what's going on with the SetOutputFilter type stuff, but it's not what's in the manual at all. Take a

Re: [PHP] PHP source display

2003-10-10 Thread Ryan Thompson
Try using the function view_source(string filename) That's off the top of my head. Might be wrong. It's in the documentation On Friday 10 October 2003 15:41, Lists wrote: > When I used apache 1.3 I could call a file with an extension of .phps and > it would display formatted source. > > In apache