RE: [PHP-INST] php in html
| From: | Greg Donald | Date: | Thu, 12 Oct 2000 03:04:02 +0000 |
| Subject: | RE: [PHP-INST] php in html | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-275@lists.php.net to get a copy of this message | ||
> I notice in the manual that you can imbed php code directly into html
> documents (ie pages that have an .html extension) - this is what I want to
> do.
>
> However, if I place php code directly into my html documents, it
> is ignored.
> If I rename the pages to end with a .php extension they work fine.
>
> Is there a setting I have missed?
>
> Regards
>
> Neil
You have to tell your web server to parse .html _as_ php.
Changes need to be made in your server configuration file.
What web server do you use?
--Greg