Kevin Waterson wrote:
This one time, at band camp, Pag <[EMAIL PROTECTED]> wrote:


I looked everywhere for the answer to this dilemma, and i know there is a way around it, maybe something about the headers, cant really remember how it was, but can someone please tell me how i can use PHP code on a file with an extension of .html?

For example, on a file called info.html, i want to have some PHP code that actually gets executed.


In your httpd.conf add the line

AddType application/x-httpd-php html
You forgot your dot

AddType application/x-httpd-php .html

Kind regards Kevin

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to