Archive for January, 2008

$_SESSION and register globals in PHP

Tuesday, January 8th, 2008 Posted in PHP | No Comments »

I spent a silly amount of time getting to bottom of a bug in a php script I was maintaining. The script was using the session to store a list of service names, among other things: $_SESSION["servicename"] = array("Just", "Some", "List", "Of", "Names"); But ...