Greetings, > 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.
Just a hunch. But if your Webserver is already setup for Scripted HyperTestMarkupLanguage files(.shtml). That might be a better/ easier choice. - just a thought. Chris > > Fred > > Byunsung Cho <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >> 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: > [EMAIL PROTECTED] -- end ............................................ This email was sent using DNSWATCH WebMail. "Get an account today!" http://www.dnswatch.com/dnswm112/ -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]