t;> From: Brian Dunning [mailto:br...@briandunning.com]
>> Sent: Wednesday, August 18, 2010 2:23 PM
>> To: PHP-General
>> Subject: Re: [PHP] Can't read $_POST array
>>
>> This was the complete code of the page (this is the POST
>> version not the REQUEST ver
foo
bar
---
-
> -Original Message-
> From: Brian Dunning [mailto:br...@briandunning.com]
> Sent: Wednesday, August 18, 2010 2:23 PM
> To: PHP-General
> Subject: Re: [PHP] Can
This was the complete code of the page (this is the POST version not the
REQUEST version):
Returns an empty array no matter what POST vars are sent. We fixed it by
changing it to this, which I've never even heard of, but so far is working
perfectly:
I have no idea what the problem was. Tha
Does $_SERVER['HTTP_METHOD'] show a GET or POST?
On Wed, Aug 18, 2010 at 4:58 PM, Adam Richardson wrote:
> On Wed, Aug 18, 2010 at 4:55 PM, Adam Richardson >wrote:
>
> > On Wed, Aug 18, 2010 at 4:49 PM, Ashley Sheridan <
> a...@ashleysheridan.co.uk
> > > wrote:
> >
> >> On Wed, 2010-08-18 at 13:
On Wed, 2010-08-18 at 16:55 -0400, Adam Richardson wrote:
> On Wed, Aug 18, 2010 at 4:49 PM, Ashley Sheridan
> wrote:
>
> > On Wed, 2010-08-18 at 13:45 -0700, Brian Dunning wrote:
> >
> > > I'm trying to write a VERY simple script that does nothing but store all
> > the submitted GET and POST var
On Wed, Aug 18, 2010 at 4:55 PM, Adam Richardson wrote:
> On Wed, Aug 18, 2010 at 4:49 PM, Ashley Sheridan > wrote:
>
>> On Wed, 2010-08-18 at 13:45 -0700, Brian Dunning wrote:
>>
>> > I'm trying to write a VERY simple script that does nothing but store all
>> the submitted GET and POST vars in a
On Wed, Aug 18, 2010 at 4:49 PM, Ashley Sheridan
wrote:
> On Wed, 2010-08-18 at 13:45 -0700, Brian Dunning wrote:
>
> > I'm trying to write a VERY simple script that does nothing but store all
> the submitted GET and POST vars in a string and echo it out.
> >
> > $response = print_r($_REQUEST, tru
Sorry, my typo, $_POST is one of the options we tried, not $POST. It returns an
empty array also.
On Aug 18, 2010, at 1:50 PM, Joshua Kehn wrote:
> On Aug 18, 2010, at 4:45 PM, Brian Dunning wrote:
>
>> I'm trying to write a VERY simple script that does nothing but store all the
>> submitted
> $response = print_r($_REQUEST, true);
> echo $response;
I'm sorry I don't have any input on your actual question but tohuhgt
I'd mention that this can be shortened to:
print_r($_REQUEST);
... if I'm not mistaken.
Marc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Wed, 2010-08-18 at 13:45 -0700, Brian Dunning wrote:
> I'm trying to write a VERY simple script that does nothing but store all the
> submitted GET and POST vars in a string and echo it out.
>
> $response = print_r($_REQUEST, true);
> echo $response;
>
> The problem is it only shows GET vars
10 matches
Mail list logo