...register_globals.
....I think they're the dumbest thing ever. Along with the lack of initializing variables.
I just spent over an hour trying to figure out why:
$userid = -1;
was overwriting the value in $_SESSION['userid'].
::really disliking PHP now::
I just spent over an hour trying to figure out why:
$userid = -1;
was overwriting the value in $_SESSION['userid'].
::really disliking PHP now::