Re: session question
| From: | SimanHew | Date: | Thu, 22 Aug 2002 22:56:18 +0000 |
| Subject: | Re: session question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-113691@lists.php.net to get a copy of this message | ||
Please try this:
printr($_POST) //debugging
import_request_variables('p', 'p_');
echo ($p_submit)//debugging
"Alexander Ross" <alexross@bleen.net> wrote in message
news:20020822222340.14514.qmail@pb1.pair.com...
> I think my session_start; statment is devouring the variables that are
> posted with my form. Here are the basics (pseudo code):
>
> <?
> include(includes.php); // the first line of this php file is
> "session_start();"
> printr($_POST) //debugging
> echo ($submit)//debugging
>
> if(form was filled in and posted)
> check login/password agains mysql database info;
> else
> display form;
>
> ?>
>
> The weird part is my debugs dont quite match...
>
> $_POST = Array ['username']=>test, ['password']=test-pword,
> ['submit']=submit;
> $submit = NULL;
>
> What gives?
>
>