Re: Re: php code inside html doesn't work

From: Date: Fri, 30 Nov 2001 01:06:02 +0000
Subject: Re: Re: php code inside html doesn't work
Groups: php.install 
Request: Send a blank email to php-install+get-5139@lists.php.net to get a copy of this message
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 <bscho@utah3d.com> wrote in message > news:20011130004739.36340.qmail@pb1.pair.com... >> 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@lists.php.net > For additional commands, e-mail: php-install-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net -- end ............................................ This email was sent using DNSWATCH WebMail. "Get an account today!" http://www.dnswatch.com/dnswm112/

« previous php.install (#5139) next »