Re: PHP from the Browser?
| From: | Harvey Frey | Date: | Sun, 05 Jan 2003 01:28:40 +0000 |
| Subject: | Re: PHP from the Browser? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-17645@lists.php.net to get a copy of this message | ||
OK, Scratch problem 4.
I just found out that my host requires a .php3 extension to get to the v. 3
server.
I hope the other 2 problems can be solved so simply. <G>
Harvey
----- Original Message -----
From: "Harvey Frey" <hsfrey@earthlink.net>
To: <php-windows@lists.php.net>
Sent: Saturday, January 04, 2003 5:15 PM
Subject: [PHP-WIN] PHP from the Browser?
> I'm a clueless newbie who just downloaded php-4.3.0-Win32 to Win 98, and
am
> having multiple problems.
>
> 1. When I click on the manual's test program ("Hello World") in IE 6.0, it
> brings up a MSDOS box, rather than execute the php file. I can't find
> anything in the manual that says how to get a php file to operate locally
> from a browser. Any Suggestions?
>
> 2. Also, I found that in order to get cli/php.exe to execute from the
> command line, I had to copy php4ts.dll into the cli directory. So maybe
> that's a bug in the installation program.
>
> 3. But when I aimed cli/php.exe at the test file, it just echoed the code,
> rather than execute it! Huh?
>
> 4. I uploaded the test file to my host, who's running a v. 4.3.0.3 server
> and got the error message that the parser expected a '('' on line 11.
>
> The code is:
> <html> <head> <title>PHP Test</title> </head>
> <body> <?php echo "Hello World<p>"; ?> </body>
> </html>
>
> so there is no line 11!
>
> Even when I gave it parens:
>
> <html> <head> <title>PHP Test</title> </head>
> <body> <?php echo ("Hello World"); ?> </body>
> </html>
>
> I got the same error message.
>
> All suggestions will be welcomed!
>
> Harvey
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>