ibneko: (Default)
[personal profile] ibneko
....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::

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

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

Expand Cut Tags

No cut tags

Profile

ibneko: (Default)
ibneko

Most Popular Tags

Style Credit

Page generated Jul. 4th, 2025 07:52 am
Powered by Dreamwidth Studios
January 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 2021