Re: My Web Browser doesn't send my PHP script for interpretation
| From: | Kamyar Mehran | Date: | Sat, 17 May 2003 10:51:37 +0000 |
| Subject: | Re: My Web Browser doesn't send my PHP script for interpretation | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-19976@lists.php.net to get a copy of this message | ||
Hi,
I'm new in programming PHP. I've just installed PHP with MySQL and my Web
Server is Apache. Apache and MySQL works pretty fine but I don't why my PHP
doesn't work. The Problem is when I test phpinfo() script file via my Web
browser, I get a blank screen and When I tried to access any other PHP
script examples via my Web Browser, the browser shows me the source code. It
seems the Web Server doesn't send the script to PHP for interpretation. I
triple-checked everything (PHP.ini, httpd.conf) and any web server
configuration direction according to Apache and PHP docs. I don't what I
should next for get my PHP works. Please help me if you have an experience
in this!!!
Kamyar Mehran
----- Original Message -----
From: "Adam Reiswig" <lists-php@honorcomputers.com>
To: <php-windows@lists.php.net>
Sent: Wednesday, May 14, 2003 5:41 PM
Subject: [PHP-WIN] PHP Scripting errors
> I have just installed php (along with mysql and apache) on my windows 2K
> machine and everything seemed to be working correctly. I ran phpinfo()
> and it returned exactly what I would expect. Possibly since this is my
> first install of php ever I may not know what I should be looking for.
> When I ran a form that passed two variables to a receiving php page the
> page rendered correctly minus the data that should have showed up. I
> used "get" to pass the variable data and the correct variables were in
> the url string but not on the page itself. When I posted the two pages
> at my website (its hosted and I expect set up correctly) the script ran
> as it should. The data was in the URL and on the page. Below is the
> form code and then after is the receiving php code.
>
> ***** welcomeform.html *****
> <html><head><title>Welcome Form</title></head><body>
> <form action="welcome.php" method="get">
> First Name: <input type="text" name="firstname"
> id="firstname" /><br />
> Last Name: <input type="test" name="lastname" id="lastname"
> /><br />
> <input type="submit" value="GO!" />
> </form>
> </body></html>
>
> ***** welcome.php *****
> <?php
> echo "Welcome to my Website, $firstname $lastname!" ;
> ?>
>
> If anyone knows why my scripts are running correctly at my hosted site
> but not locally I'd be very grateful for any pointers. Thanks a lot.
>
> -Adam Reiswig
>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
____________________________________________________________
Free 20MB Web Site Hosting and Personalized E-mail Service!
Get It Now At Doteasy.com http://www.doteasy.com/et/