note 113099 added to function.session-register
| From: | tecnico at overant dot com | Date: | Thu, 29 Aug 2013 11:49:47 +0000 |
| Subject: | note 113099 added to function.session-register | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-196119@lists.php.net to get a copy of this message | ||
If you have many websites with these functions in the source code (like me) you can include the
following functions in some kind of include.php that you have:
function session_register($session)
{
//
}
function session_unregister($session)
{
unset($_SESSION[$session]);
}
In this way the PHP interpreter detects the functions and do not return the error, and the
maintenance work is minimized.
----
Server IP: 69.147.83.199
Probable Submitter: 84.76.156.14
----
Manual Page -- http://php.net/manual/en/function.session-register.php
Edit -- https://master.php.net/note/edit/113099
Del: integrated -- https://master.php.net/note/delete/113099/integrated
Del: useless -- https://master.php.net/note/delete/113099/useless
Del: bad code -- https://master.php.net/note/delete/113099/bad+code
Del: spam -- https://master.php.net/note/delete/113099/spam
Del: non-english -- https://master.php.net/note/delete/113099/non-english
Del: in docs -- https://master.php.net/note/delete/113099/in+docs
Del: other reasons-- https://master.php.net/note/delete/113099
Reject -- https://master.php.net/note/reject/113099
Search -- https://master.php.net/manage/user-notes.php