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:[EMAIL PROTECTED]] > >Sent: Wednesday, 5 June 2002 9:49 AM > >To: Kevin Stone; [EMAIL PROTECTED] > >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" <[EMAIL PROTECTED]> > >To: <[EMAIL PROTECTED]> > >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" <[EMAIL PROTECTED]> > >>To: <[EMAIL PROTECTED]> > >>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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php