session question
| From: | Alexander Ross | Date: | Thu, 22 Aug 2002 22:23:29 +0000 |
| Subject: | session question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-113689@lists.php.net to get a copy of this message | ||
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?