Re: Php files with .html extension?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Phpu wrote:

Hi,

How can i do a php script with a html extension....such as http://www.blinds-wise.com/shop/p/blind/bid/1/venetian_blinds.html

Thanks

when using eg. apache, you can add a .htaccess file with the following line:
AddType application/x-httpd-php .html

That will overwrite the "normal" way apache handles .html files, and it will let the php engine parse them in that and all subdirectories (which don't reset this behavious using another .htaccess file with different Type-related options)

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux