devguy Posted April 5, 2007 Share Posted April 5, 2007 For a long time I have been using $mycookie on a site which one day decided to apparently upgrade without notification. In order to fix what was broken I had to use $_COOKIE['mycookie']. I have been looking for documentation to find out if there was deprecation of this usage. Please note I was using PHP4 previously. Can anyone point me in the right direction as I would like to point out to the server that they should have given notice. Thanks DevGuy Link to comment https://forums.phpfreaks.com/topic/45666-cookies-handling-changes/ Share on other sites More sharing options...
trq Posted April 5, 2007 Share Posted April 5, 2007 register_globals has been off by default for a long time (even in php4, ps you never stated what version your using now). It is a major security issue and always has been. IMO it should never have existed. I'm not sure when it was turned off, but I'm sure if you googled around (register globals) you might find more information. Good luck getting your host to admit to doing anything wrong though. Link to comment https://forums.phpfreaks.com/topic/45666-cookies-handling-changes/#findComment-221776 Share on other sites More sharing options...
trq Posted April 5, 2007 Share Posted April 5, 2007 PS; Also be aware that its not just cookies that are effected. Any post or get variables will now also only show up in there respective $_POST[] and $_GET[] arrays. Link to comment https://forums.phpfreaks.com/topic/45666-cookies-handling-changes/#findComment-221780 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.