RE: [PHP] .php to .html?
| From: | Peter Houchin | Date: | Mon, 30 Sep 2002 06:02:13 +0000 |
| Subject: | RE: [PHP] .php to .html? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-118151@lists.php.net to get a copy of this message | ||
just save the files u create as .html make sure in your apache httpd.conf
where you reference for .php that u have html in here as well and all will
be sweet.
eg in this line
AddType application/x-httpd-php .php4 .php .htm .php3 .html
anything you put in that line will be passed through php
cheers
> -----Original Message-----
> From: Jean-Christian Imbeault [mailto:jc@mega-bucks.co.jp]
> Sent: Monday, 30 September 2002 3:46 PM
> To: php-general@lists.php.net
> Subject: [PHP] .php to .html?
>
>
> I am using PHP 4.2.3 and Apache 1.3.26
>
> When a user comes to one of my php pages it comes out has
> http:..ip/page.php
>
> How can I make my pages come out as .html instead of .php?
>
> Thanks!
>
> Jc
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>