ID: 15127
Updated by: sander
Old Summary: I don't get any error messages but it loops
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Bogus
Bug Type: Session related
Operating System: win 98
PHP Version: 4.1.0
New Comment:

Not likely to be a bug. Ask support questions on the appropriate
mailinglist.


Previous Comments:
------------------------------------------------------------------------

[2002-01-20 19:25:46] [EMAIL PROTECTED]

<?php
function checkUser() 
  {
global $session, $logged_in;
$session[logged_in] = false;
$ecust_row = getRow( "etable", "id", $session[id] );
$tt=$ecust_row;

if ( !$ecust_row || $ecust_row[duser]!=$session[login] ||
  $ecust_row[dpass]!=$session[password] )
{
print $tt;
file://header( "Location: login.php" );
exit;
}
$session[logged_in] = true;
return $ecust_row; 
}
?>

Please help me 

The function code that i have given it dosent give any error messages
but It passes all verfication like username and password from the
database but after it call the checkuser function withou giving any
error messages it return's to login menu.

if ( !$ecust_row || $ecust_row[duser]!=$session[login] ||
  $ecust_row[dpass]!=$session[password] )
{
print $tt;
file://header( "Location: login.php" );
exit;
}
It goes through only this verification not 

$session[logged_in] = true;
return $ecust_row; 

Tuan

I have got a c:/tmp directory too.

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=15127&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to