Re: PHP source display

From: Date: Fri, 10 Oct 2003 19:56:45 +0000
Subject: Re: PHP source display
References: 1  Groups: php.general php.general 
Request: Send a blank email to php-general+get-165785@lists.php.net to get a copy of this message
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 rthomp@sympatico.ca http://osgw.sourceforge.net ============================== "A computer scientist is someone who fixes things that aren't broken" --Unknown

« previous php.general (#165785) next »