Re: Windows install that is bugging me...
| From: | Scott De Leeuw | Date: | Tue, 07 Jan 2003 15:46:07 +0000 |
| Subject: | Re: Windows install that is bugging me... | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-9615@lists.php.net to get a copy of this message | ||
Maybe I am totally misunderstanding, can I have an HTML file with
php code embedded in to it named .phtml and still have all of the
HTML working properly? Am I making this way harder than what it
is?
--- kimBlim <kimblim@hotmail.com> wrote:
> go to your internet services manager...
>
> right-click on the appropriate website (default?), choose
> properties. now click on the configuration button, and edit
> .html to be run by "C:/PHP/php.exe" or whereever you have put
> it..
>
> that should do the trick, but why cant it be called .php?
>
> ----- Original Message -----
> From: "Scott De Leeuw" <dil222@yahoo.com>
> To: "Nuno Lopes" <nunoplopes@clix.pt>
> Cc: <php-install@lists.php.net>
> Sent: Tuesday, January 07, 2003 4:02 PM
> Subject: Re: [PHP-INST] Windows install that is bugging me...
>
>
> > Really, it's that easy? I will have to try it when I get
> home...
> >
> > Here is a good example, this is my site...
> >
> > http://12.208.217.144/welcome.php (strict php file)
> >
> > http://12.208.217.144/body.htm (embedded php)
> >
> > Notice that the strict php file works, however the htm file
> with
> > php embedded in to it does not... From the book I was
> reading I
> > understood it could be embedded like javascript is...
> >
> > I will try changing that setting when I get home....
> >
> > --- Nuno Lopes <nunoplopes@clix.pt> wrote:
> > > The problem is that .htm/.html files aren't being parsed.
> > > Simply open the configuration dialog of IIS (in control
> panel)
> > > and then go
> > > to 'Home directory'. Click in 'configuration' button and
> click
> > > in 'Add' and
> > > then enter .html as extension and C:\php\php.exe as
> executable
> > > (or where is
> > > your php).
> > >
> > > Nuno Lopes
> > >
> > >
> > > ----- Original Message -----
> > > From: "Scott De Leeuw" <dil222@yahoo.com>
> > > To: <php-install@lists.php.net>
> > > Sent: Tuesday, January 07, 2003 4:14 AM
> > > Subject: [PHP-INST] Windows install that is bugging me...
> > >
> > >
> > > > Here are the system specifics..
> > > > Windows 2000 server SP3
> > > > PHP 4.30
> > > > IIS 4 I believe, whatever comes with W2k Server
> > > >
> > > > I've installed PHP and set it up as per the
> instructions...
> > > Any
> > > > file with a .php or .phtml extension works, however when
> I
> > > embed
> > > > PHP code in to an HTML it either gives a blank page or
> simply
> > > > prints all the text... I am using the standard "<?php"
> tag...
> > > I
> > > > have been messing around with this for a week now and am
> at a
> > > > loss... any ideas?
> > >
> > >
> > >
> >
> >
> > =====
> >
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> > http://mailplus.yahoo.com
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
=====
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com