RE: [PHP-GENERAL] printing a php file as a text file

From: Date: Sat, 20 May 2000 23:03:17 +0000
Subject: RE: [PHP-GENERAL] printing a php file as a text file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-234@lists.php.net to get a copy of this message
[] brackets mean optional. either use, AddType application/x-httpd-php-source .phps or AddType application/x-httpd-php3-source .phps refer to your other config lines. On Sat, 20 May 2000, Chris Sano wrote: > > I put the below in my httpd file: > AddType application/x-httpd-php[3]-source .phps > > It doesn't show the code in the browser window, but rather forces the user > to download the script. > I want the user to be able to VIEW this in his/her browser with the > approprimate syntax. > > I tried show_source() too, but that put everything on one line.. unless I > did something wrong? > > chris - cnb -- Chandrashekhar Bhosle. Email: cnb@freeos.com Webmaster. ICQ : 7616948 FreeOS.com - The Resource Center for Free Operating Systems. ------------------------------------------------------------

« previous php.general (#234) next »