Re: PHP as HTML

From: Date: Wed, 05 Jun 2002 03:52:27 +0000
Subject: Re: PHP as HTML
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-100647@lists.php.net to get a copy of this message
If you do a phpinfo() you get a columen Server API, mine lists CGI as it is what I installed php as. > you know, that's a good question. How would I determine that on the server? > > Peter wrote: > > >Tom, this does work fine... doing what Kevin says... > >ie the > > > >AddType application/x-httpd-php .html > >AddType application/x-httpd-php .htm > > > >is PHP installed as a module or cgi ver? > > > >Cheers > > > >-----Original Message----- > >From: Tom Ray [mailto:tom@blazestudios.com] > >Sent: Wednesday, 5 June 2002 9:49 AM > >To: Kevin Stone; php-general@lists.php.net > >Subject: Re: [PHP] PHP as HTML > > > > > >I tried this, and it just prompts me to download the file from the server. I > >can't see what the issue is. > > > > > >----- Original Message ----- > >From: "Kevin Stone" <kevin@helpelf.com> > >To: <php-general@lists.php.net> > >Sent: Tuesday, June 04, 2002 5:35 PM > >Subject: Re: [PHP] PHP as HTML > > > > > > > > > >>AddType application/x-httpd-php .html > >>AddType application/x-httpd-php .htm > >> > >>----- Original Message ----- > >>From: "Tom Ray" <tom@blazestudios.com> > >>To: <php-general@lists.php.net> > >>Sent: Tuesday, June 04, 2002 2:41 PM > >>Subject: [PHP] PHP as HTML > >> > >> > >> > >> > >>>Hey there- > >>> > >>>I'm trying to use an .htaccess file to parse .php files as .html does > >>> > >>> > >>anyone > >> > >> > >>>know how to do this? It doesn't work with the same structure as parsing > >>> > >>> > >>the > >> > >> > >>>.shtml files. > >>> > >>>any suggestions would be great. > >>> > >>> > >>> > >>> > >>>-- > >>>PHP General Mailing List (http://www.php.net/) > >>>To unsubscribe, visit: http://www.php.net/unsub.php > >>> > >>> > >>> > >>> > >> > >>-- > >>PHP General Mailing List (http://www.php.net/) > >>To unsubscribe, visit: http://www.php.net/unsub.php > >> > >> > >> > >> > > > > > >-- > >PHP General Mailing List (http://www.php.net/) > >To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > > > > -Pushkar S. Pradhan

« previous php.general (#100647) next »