Re: PHP returns empty form
| From: | Curt Zirzow | Date: | Wed, 25 Aug 2004 05:25:52 +0000 |
| Subject: | Re: PHP returns empty form | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-194648@lists.php.net to get a copy of this message | ||
* Thus wrote Richard Miller:
> Good evening!
>
> I am getting an error message that I've never seen before. I am
> POSTing an HTML form to a PHP script, but when I submit the form, my
> Safari browser says "can't open the page such-and-such because it could
> not load any data from this location." Mozilla gives no error message
> but does not submit the form.
Several things.. of which a couple are:
- is your HTML formated properly.
- Does your php script actually output anything?
(try echoing something on the first line of the php script)
> This "bad" server is running Mac OS X Server with Apache 1.3. On a
> different machine (Mac OS X client, also with Apache 1.3) the form
> works fine.
>
> It seems like something is wrong with the PHP installation on the
> server, but I don't know where to start. Any help?
The first place to start if it appears to be an issue with php is
the php.ini file. Do a diff on the two servers. The one option
that screams the behaviour you talking about in paticular would be
register_globals.
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about. No, sir. Our model is the trapezoid!