RE: [PHP] Php files with .html extension?
| From: | Graham Cossey | Date: | Mon, 25 Oct 2004 15:30:14 +0000 |
| Subject: | RE: [PHP] Php files with .html extension? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-200261@lists.php.net to get a copy of this message | ||
Do not forget that if you do this ALL files with the .html extension will be
parsed by PHP whether they are PHP scripts or not which could be something
you need to consider from a performance perspective.
> -----Original Message-----
> From: Jay Blanchard [mailto:jay.blanchard@niicommunications.com]
> Sent: 25 October 2004 14:59
> To: php-general@lists.php.net
> Subject: RE: [PHP] Php files with .html extension?
>
>
> [snip]
> 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
> [/snip]
>
> You set it up in your httpd.conf You should have
>
> AddType application/x-httpd-php .php
>
> change it to
>
> AddType application/x-httpd-php .php .html
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>