An HTML/PHP code migrated to a different hosting platform seems to behave
differently. The PHP statements within HTML fields or within tables does
not execute
PHP within table:
This PHP code doesn't print in the HTML page.
PHP within form field:
readonly="">
This PHP code shows on the
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
--Original Message-
From: Jeremy [mailto:[EMAIL PROTECTED]]
Sent: Friday, 17 May 2002 12:14 PM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP in HTML
Hi Folks,
A simple question that has me puzzled, obviously I have a config file wrong
somewhere..
Why does a filename.php file run as php and a filename
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
Hi Folks,
A simple question that has me puzzled, obviously I have a config file wrong
somewhere..
Why does a filename.php file run as php and a filename.html with php code
embedded not produce a php result?
cheers,
Jeremy Burton
Senior Consultant
PERTH TOURIST LOUNGE
Level 2 Carillon City
Mur
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
I'm trying to test the following:
I have created a simple cookie script:
I have placed it in an html page, at the very top (no
spaces, lines, etc.), and have left no lines/spaces
between the '?>' and '' tags. Yet the script
does not execute (nor does it return an error of any
kind). What gives
13 matches
Mail list logo