[PHP-INST] Re: php code inside html doesn't work
by Fred other posts by this author
Nov 30 2001 12:59AM messages near this date
[PHP-INST] Re: php code inside html doesn't work
|
[PHP-INST] Fw:Requested HolidaySpecial
What do you mean by php code inside an html file? Do you mean that the file
has an html extension (e.g. index.html)? If that is the case then you need
to change your php.ini file to indicate that all html files should be
processed by php. Alternately, you could just change the extension to .php
and everything will work just fine.
Fred
Byunsung Cho <bscho@[...].com> wrote in message
news:20011130004739.36340.qmail@[...]..
> Thanks to many netters, I have found running php.exe from command line
> works.
> I feel that I need to take introductory Windows class again. :)
>
> I am using Php 4, IIS on Windows 2000.
> Now, I can have a web broweser open a file with .php file extension and
> php codes inside the file works fine.
>
> However, php code embedded inside a html file does not work.
> Simple print statement does not show anything on screen.
>
> Would you please help me what to check to solve the problem?
>
> -Cho
>
>
>
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-install-unsubscribe@[...].net
For additional commands, e-mail: php-install-help@[...].net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
Thread:
Byunsung Cho
Byunsung Cho
Fred
Fred
|