Jump to content

Cookies handling changes?


devguy

Recommended Posts

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

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.