Re: Re: registering session with user and password

From: Date: Wed, 06 Apr 2005 14:57:00 +0000
Subject: Re: Re: registering session with user and password
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-212424@lists.php.net to get a copy of this message
Tomás Rodriguez Orta wrote: .. > what is the differnece between isset($_session['use']) and > session_is_registered('user') ????? session_register() and session_is_registered() rely on the php.ini directive register_globals. Register_globals *can* be an ugly monster that gives crackers an easy way to mess with your server if you're not careful. I use $_SESSION because it makes my life easier. But if you want register_globals = 1 on your server, well no one is going to stop you. -- Teach a man to fish... NEW? | http://www.catb.org/~esr/faqs/smart-questions.html STFA | http://marc.theaimsgroup.com/?l=php-general&w=2 STFM | http://php.net/manual/en/index.php STFW | http://www.google.com/search?q=php LAZY | http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
« previous php.general (#212424) next »