You can have a .php file with:
(...)
more html
When you do '?>' the php stops and when you do '
To: "kimBlim" <[EMAIL PROTECTED]>; "Nuno Lopes" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, January 07, 2003 3:46 PM
Su
On Tuesday 07 January 2003 16:46, Scott De Leeuw wrote:
> Maybe I am totally misunderstanding, can I have an HTML file with
> php code embedded in to it named .phtml and still have all of the
> HTML working properly? Am I making this way harder than what it
> is?
YES!
Just try this little test -
Original Message -
> From: "Scott De Leeuw" <[EMAIL PROTECTED]>
> To: "Nuno Lopes" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Tuesday, January 07, 2003 4:02 PM
> Subject: Re: [PHP-INST] Windows install that is bugging me...
&g
alled .php?
- Original Message -
From: "Scott De Leeuw" <[EMAIL PROTECTED]>
To: "Nuno Lopes" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, January 07, 2003 4:02 PM
Subject: Re: [PHP-INST] Windows install that is bugging me...
> Really, it&
Really, it's that easy? I will have to try it when I get home...
Here is a good example, this is my site...
http://12.208.217.144/welcome.php (strict php file)
http://12.208.217.144/body.htm (embedded php)
Notice that the strict php file works, however the htm file with
php embedded in to it
Scott De Leeuw wrote:
Here are the system specifics..
Windows 2000 server SP3
PHP 4.30
IIS 4 I believe, whatever comes with W2k Server
I've installed PHP and set it up as per the instructions... Any
file with a .php or .phtml extension works, however when I embed
PHP code in to an HTML it either
The problem is that .htm/.html files aren't being parsed.
Simply open the configuration dialog of IIS (in control panel) and then go
to 'Home directory'. Click in 'configuration' button and click in 'Add' and
then enter .html as extension and C:\php\php.exe as executable (or where is
your php).
Nu