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 2.0 it does not do this > > Here is my config from apache 2.0 > > > LoadModule php4_module modules/libphp4.so > > # > # Cause the PHP interpreter handle files with a .php extension. > # > <Files *.php> > SetOutputFilter PHP > SetInputFilter PHP > LimitRequestBody 524288 > </Files> > > I have tried doing: > > <Files *.phps> > SetOutputFilter PHPS > SetInputFilter PHPS > LimitRequestBody 524288 > </Files> > > > However, that does not work! > > Any ideas? > > Michael -- Ryan Thompson [EMAIL PROTECTED] http://osgw.sourceforge.net ============================== "A computer scientist is someone who fixes things that aren't broken" --Unknown -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php