To: Peter
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] PHP in HTML
Do you really find it noticeable quicker? Benchmarks I've seen (none of
them that current) don't seem to support that. Depending on the software
versions involved, it seems to be anywhere from much faster through PHP to
a fe
ge-
> From: Miguel Cruz [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 17 May 2002 3:52 PM
> To: Peter
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] PHP in HTML
>
>
> On Fri, 17 May 2002, Peter wrote:
> >> there are also possible good reasons for sending .html fi
I find it better than having every page go thru php not to mention quicker.
-Original Message-
From: Miguel Cruz [mailto:[EMAIL PROTECTED]]
Sent: Friday, 17 May 2002 3:52 PM
To: Peter
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] PHP in HTML
On Fri, 17 May 2002, Peter wrote:
>> the
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
On Friday 17 May 2002 13:33, Jerome Houston wrote:
> yeah, just find in your web server where to tell it what kind of files to
> send through php.
>
> 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 ph
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.
-jerome
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
yeah, just find in your web server where to tell it what kind of files to
send through php.
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.
-jerome
Original Message Follows
From: Just
if your using apache for you web server .. in httpd.conf you can set it so
you have the following config..
(this is on windows but same basically applies to other OS's)
LoadModule php4_module c:/phpdev/php/sapi/php4apache.dll
AddType application/x-httpd-php .php .html
this will enable .html file
Your Apache config file will be set to only parse PHP pages if they have the
.php extension this is a feature, not a big, because otherwise every
html page on your server will be parsed, rather than just the php ones...
you could modify your apache config iff you wished, but I wouldn't. .html
Put it in a .php file. Your webserver probably doesn't interpret PHP in
HTML files (as is proper). If it MUST be in a HTML file, you'll have to
set up your webserver to interpret php in html files... that process
depends on your webserver.
Ben
On Tue, 24 Jul 2001, CGI GUY wrote:
> I'm trying
10 matches
Mail list logo