Re: $_POST issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:
> >>>
> >>> <?php
> >>>      var_dump($_POST);
> >>> ?>
> >>>
> >>> 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
> 

if i follow correctly, your form submits via:
<form method="post" action="response.php">

then you redirect to the page.php, and it puts the $_POST variables into
the url string... and that works fine.

and now, you're trying to get the variables from the page.php, using the
$_POST method?   wouldn't you want to be checking the $_GET on this
page, as they would be coming in from the url string?


Steve


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux