note 40112 deleted from function.session-is-registered by philip

From: Date: Sun, 04 Mar 2007 00:22:22 +0000
Subject: note 40112 deleted from function.session-is-registered by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-124056@lists.php.net to get a copy of this message
Note Submitter: webmaster __AT__ digitalanime __DOT__ nl ---- Do not use this anymore! As of PHP 4.* the super globals are used, so you have to FORGET this function. Super globals are way more safe and they are exactly what they have to be: Clear. $_POST says that variables in that array come from a form. $_GET says that variables are passed through the URI. $_SESSION says (more than clear) that variables are in a session. USE THEM! They are not there because of their beauty or something.. So, forget session_register(), session_unregister(), session_destroy() and al those stupid functions. The only thing you need is the super global $_SESSION.

« previous php.notes (#124056) next »