Re: [PHP] .php extensions versus .html

2003-01-31 Thread Chris Shiflett
--- Guru Geek <[EMAIL PROTECTED]> wrote: > I was wondering, can you call a php script in the middle > of a html page? ... > Does anyone else know how to use php on a page and yet > keep the .html extension? Configure your Web server to treat .html files as PHP. This has been discussed before, so t

Re: [PHP] .php extensions versus .html

2003-01-31 Thread Justin French
I think what you've seen is shtml / ssi / server side includes, but anyway, since you asked: 1. create a .htaccess file which pushes *all* .php pages through PHP I *THINK* the code is something like: ForceType application/x-httpd-php But you should check the apache manual, list or some tu