...register_globals.
Feb. 17th, 2007 06:14 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
....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::