Re: Re: POST superglobal is empty
| From: | Justin Patrin | Date: | Wed, 04 Aug 2004 21:55:16 +0000 |
| Subject: | Re: Re: POST superglobal is empty | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-192760@lists.php.net to get a copy of this message | ||
On Wed, 4 Aug 2004 16:47:45 -0500, AJL <andy@loftuscountry.com> wrote:
> I'm not sure if it is Apache or not. In fact, I wonder that it might
> be. However, I do not have any clue as to what it could be.
>
> We have 1 apache server running. It currently has php4.1.1 built as
> apache module. Code works fine for this build. In addition, I have
> php4.3.8 and php5.0.0 built as cgi. This code fails against both
> php4.3.8 and php5.0.0. Makes me think it has something to do with CGI
> in apache. Again, I have no clue what this might be. As I mentioned
> earlier, I've looked through all the bugs on php.net and other
> newsgroups, mailing lists, FAQ's. All the solutions posted in the
> past are not in effect on my server. I can find nothing wrong.
> I have also tried a copy of the 4.1.1 php.ini file for php5.0.0 with no
> luck.
>
> Hints, suggestions, pointers are all welcome. Apparently this is a
> common problem.
Sounds like Apache just isn't passing in POST data. Are you *sure*
there's Apache directive for this?
P.S. *Why* do you have PHP 4.1.1 as the default?
>
> --
> Andy
>
>
>
> On Wed, Aug 04, 2004 at 01:20:00PM -0400, John W. Holmes wrote:
> > From: "Dan Phiffer" <dan-php@phiffer.org>
> > > Jason Davidson wrote:
> > >
> > > > How about
> > > > print_r($_REQUEST);
> > >
> > > That also fails to reflect posted data. $_GET is working as expected.
> >
> > There's nothing in PHP that would not let POST values get through. Are you
> > sure this isn't a web server issue only allowing GET requests to pages that
> > it serves?
> >
> > ---John Holmes...
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--