On Wed, 2010-12-01 at 20:18 +0400, Nadim Attari wrote:
> On 12/01/2010 07:18 PM, Jay Blanchard wrote:
> > [snip]
> >>> If I just put only this piece of code:
> >>>
> >>> >>> var_dump($_POST);
> >>> ?>
> >>>
> >>> i get nothing.
> > [/snip]
> >
> > Where are you putting this var_dump?
> >
> >
This thread is a really good example of how difficult it can be to
both explain and understand a problem. The original poster might want
to restate the question from scratch with a more explicit and complete
example.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
[snip]
> Where are you putting this var_dump?
>
>
That's the only code on the page. Otherwise, the other codes - header(),
print, etc. are on the page.
[/snip]
var_dumping the POST on the same page from which the data originates
will not yield anything.
Page A - contains data to be posted.
Page
On 1 December 2010 14:50, Bundhoo M Nadim wrote:
> Hello,
>
> Can someone explain me what this piece of code basically does ?
>
> header("Expires: " . gmdate("D, d M Y H:i:s", time() + (0*60)) . "GMT");
> header("Pragma: no-cache");
> print "REDIRECT=http://www.domaine.com/page.php?";;
>
The function http_build_query() is turning your $_POST array into a
query string ($_GET), so the answer to this really depends where
you're trying to dump the array.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 12/01/2010 07:18 PM, Jay Blanchard wrote:
[snip]
If I just put only this piece of code:
i get nothing.
[/snip]
Where are you putting this var_dump?
That's the only code on the page. Otherwise, the other codes - header(),
print, etc. are on the page.
nadim
--
PHP General Mailing L
On 1 December 2010 15:18, Marc Guay wrote:
>>> var_dump($_POST);
?>
>
> Where exactly are you putting this line?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
If a script is ran via a url like ...
http://www.site.co
[snip]
>> If I just put only this piece of code:
>>
>> > var_dump($_POST);
>> ?>
>>
>> i get nothing.
[/snip]
Where are you putting this var_dump?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>>> >> var_dump($_POST);
>>> ?>
Where exactly are you putting this line?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 01/12/2010 19:01, Daniel P. Brown wrote:
On Wed, Dec 1, 2010 at 09:50, Bundhoo M Nadim wrote:
If I just put only this piece of code:
i get nothing. But the above codes is successfully redirecting me to
page.php with a properly constructed query string -> which means that $_POST
was never
On Wed, Dec 1, 2010 at 09:50, Bundhoo M Nadim wrote:
>
> If I just put only this piece of code:
>
> var_dump($_POST);
> ?>
>
> i get nothing. But the above codes is successfully redirecting me to
> page.php with a properly constructed query string -> which means that $_POST
> was never empty.
On 1 December 2010 14:50, Bundhoo M Nadim wrote:
> Hello,
>
> Can someone explain me what this piece of code basically does ?
>
> header("Expires: " . gmdate("D, d M Y H:i:s", time() + (0*60)) . "GMT");
> header("Pragma: no-cache");
> print "REDIRECT=http://www.domaine.com/page.php?";;
>
12 matches
Mail list logo