Date: 01/06/03
- Next message: Tularis: "[PHP-DOC] Re: #20878 [Com]: IIS Server setup to run php code imbeded in html"
- Previous message: philip <email protected>: "[PHP-DOC] #20878 [Opn->Bgs]: IIS Server setup to run php code imbeded in html files"
- In reply to: fletchsod <email protected>: "[PHP-DOC] #20878 [Com]: IIS Server setup to run php code imbeded in html files"
- Next in thread: Tularis: "[PHP-DOC] Re: #20878 [Com]: IIS Server setup to run php code imbeded in html"
- Reply: Tularis: "[PHP-DOC] Re: #20878 [Com]: IIS Server setup to run php code imbeded in html"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
And even IF you would go as far as to have .htm and .html files parsed
as PHP-files, you should add this to APACHE, and NOT IE!! Since the code
in IE gets run locally on your computer, not locally on the server, as
it would in case of apache.
- Tularis
fletchsod <email protected> wrote:
> ID: 20878
> Comment by: fletchsod <email protected>
> Reported By: sparkie <email protected>
> Status: Open
> Bug Type: Documentation problem
> Operating System: Windows 200
> PHP Version: 4.2.3
> New Comment:
>
> Um... If you're saying that the php code should work in the *.html and
> *.htm files. I hate to tell you this. This does not work that way.
> PHP script do not work in any files other than *.php and *.inc (if with
> include file function). It have been this way from day one.
>
>
> Previous Comments:
> ------------------------------------------------------------------------
>
> [2002-12-07 10:17:27] sparkie <email protected>
>
> After installing php-4.2.3-installer.exe per install.txt and
> configuring IIS as recommended in various help files, I found that my
> browser would run .php files ok but not .html files with inbedded php
> code. I wasted a lot of time trying to find the answer which is not
> mentioned anywhere in the install.txt, (or any other help of FAQ for
> that matter);
> The way install.txt describes setting up the IIS server works very
> well for getting the browser to work with .php files but does nothing
> at all for .html files that have imbedded php code. In the Internet
> Services Manager>Default Web Site>Properties page>Home
> Directory>configuration the following must be added to run php code
> imbedded in an HTML file:in addition to adding .php and the executable
> path,it is necessary to also add .html and .htm extensions + the
> executable path in order to run imbeded php code. Perhaps this solution
> should have been plain to see - but not!
> Thanks for your consideration,
>
> ------------------------------------------------------------------------
>
>
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Tularis: "[PHP-DOC] Re: #20878 [Com]: IIS Server setup to run php code imbeded in html"
- Previous message: philip <email protected>: "[PHP-DOC] #20878 [Opn->Bgs]: IIS Server setup to run php code imbeded in html files"
- In reply to: fletchsod <email protected>: "[PHP-DOC] #20878 [Com]: IIS Server setup to run php code imbeded in html files"
- Next in thread: Tularis: "[PHP-DOC] Re: #20878 [Com]: IIS Server setup to run php code imbeded in html"
- Reply: Tularis: "[PHP-DOC] Re: #20878 [Com]: IIS Server setup to run php code imbeded in html"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

