ibneko: (Default)
ibneko ([personal profile] ibneko) wrote2007-02-17 06:14 pm
Entry tags:

...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::

[identity profile] fbartho.livejournal.com 2007-02-18 02:06 am (UTC)(link)
Dude, your webhost should have disabled register_globals anyways! Severely problem causing across the board and I think it leads to insecurity issues.

[identity profile] ibneko.livejournal.com 2007-02-18 02:41 am (UTC)(link)
Yeah. They're running 4.4.4, past the point where it's disabled by default. So.. I dunno. It's stupid.