Re: PHP not working in html
| From: | Kevin Stone | Date: | Thu, 07 Nov 2002 21:23:36 +0000 |
| Subject: | Re: PHP not working in html | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-123238@lists.php.net to get a copy of this message | ||
In your .htaccess file remove anything that looks like this:
AddHandler server-parsed .html
And add this line:
AddType application/x-httpd-php .php .htm .html
Do a search for "parse html php" for more help.
-Kevin
----- Original Message -----
From: "Mike At Spy" <spycobalt@spyproductions.com>
To: <php-general@lists.php.net>
Sent: Thursday, November 07, 2002 2:16 PM
Subject: [PHP] PHP not working in html
>
> PHP isn't working in my html docs - what changes do I need to make to get
it
> to do so? Does it need to be recompiled? Can I do it without
re-compiling?
>
> Thanks,
>
> -Mike
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>