Re: Re: Installing PHP - 2nd try
| From: | Peter Ellis | Date: | Mon, 30 Aug 2004 17:52:49 +0000 |
| Subject: | Re: Re: Installing PHP - 2nd try | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-35948@lists.php.net to get a copy of this message | ||
PHP will not, by default, parse .htm or .html files. Try renaming it to
index.php (the standard PHP file extension) or modify your web server to
allow PHP to parse those files.
Hope this helps.
--
Peter Ellis - pellis@naturalaxis.com
Web Design and Development Consultant
naturalaxis | http://www.naturalaxis.com/
On Mon, 2004-08-30 at 09:06 -0700, Judy Picard wrote:
> --- Judy Picard <judypicard@yahoo.com> wrote:
>
> > I believe I have an installation problem on my WinXP
> > machine. I have some .htm files with PHP within in
> > my localhost [wwwroot] directory.
> > When I open the major one [I wrote but I think it's
> > mostly correct] in IE6, I get an error on line 69
> > [which is the end of my PHP.] When I open in IE6 a
> > test file:
> > **********************************
> > <!doctype html public "-//W3C//DTD HTML 4.0//EN">
> > <html>
> > <head>
> > <title>Untitled web-page</title>
> > </head>
> > <body>
> > <?php
> > echo ("My name is Judy.");
> > ?>
> > </body>
> > </html>
> > ******************************************
> >
> > I get a blank page. When I view its source still
> > within IE6, I can see all of the above including the
> > PHP coding which is why I surmise that PHP isn't
> > installed correctly.
> >
> > Developing the site online isn't practical. I need
> > to make it work locally before uploading. Help!
> > thanks,
> > judy
> >
>
>
>
>
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!
> http://promotions.yahoo.com/new_mail