Re: $_POST issues
| From: | Steve Staples | Date: | Wed, 01 Dec 2010 16:55:24 +0000 |
| Subject: | Re: $_POST issues | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-309799@lists.php.net to get a copy of this message | ||
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