PDA

View Full Version : cookies: setcookie() $_COOKIE


sabret00the
05-02-2004, 01:43 PM
has anyone of you ever used cookies in your hacks? if so what for? and how exactly? (not like the calls but for what info etc)

Xenon
05-02-2004, 03:46 PM
I did it to enable the debug mode for your PC if you do not have a static ip.

The info is just to recognize wether debug should be enabled in config.php or not :)

NTLDR
05-02-2004, 04:07 PM
I use it on my site to store what region a user is in to save having to query the database for it on each page load if they haven't specified one. I also use it if a competition is on that prevents users for visiting a set of forums to show them the no permission message even if they logout or register with another account to try and cheat.