ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-install
php-install
[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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved