[thelist] [PHP] Send it as plain html
Noah St.Amand
noah at tookish.net
Thu Nov 25 17:23:44 CST 2004
Hi Tim,
Tim Burgan wrote (11/25/04 5:40 PM):
> I saw somewhere within the last week, how to have a PHP page that the
> browser actually thinks is html. It does everything PHP is supposed to
> do on the server, but when it reaches the browser it has the .html
> extension, not .php
>
> Has anyone else hear of this and know where I can find information about
> it?
You need to tell your server to parse pages with the .html extension as
PHP. If you're on Apache, there are instructions here:
<http://www.spiderpro.com/bu/buphph001.html>
Cheers,
Noah St.Amand
More information about the thelist
mailing list