RE: [PHP] PHP in HTML
| From: | Peter | Date: | Fri, 17 May 2002 06:25:30 +0000 |
| Subject: | RE: [PHP] PHP in HTML | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-98013@lists.php.net to get a copy of this message | ||
I find it better than having every page go thru php not to mention quicker.
-----Original Message-----
From: Miguel Cruz [mailto:mnc@stoic.net]
Sent: Friday, 17 May 2002 3:52 PM
To: Peter
Cc: php-general@lists.php.net
Subject: RE: [PHP] PHP in HTML
On Fri, 17 May 2002, Peter wrote:
>> there are also possible good reasons for sending .html files through
>> php. like if you don't want users to know that your website is written
>> in php.
>
> a better way to do that would be to make up your own extension so
> instead of having your server use .php for php files make it use .web or
> what ever you like ...
Why is that better?
There are certain little weirdnesses that crop up when HTML pages have
file names that fool lesser platforms into thinking they're not HTML,
especially when they try to save them locally.
miguel