note 113099 deleted from function.session-register by cmb
| From: | cmb@php.net | Date: | Wed, 24 Feb 2021 12:10:56 +0000 |
| Subject: | note 113099 deleted from function.session-register by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-219208@lists.php.net to get a copy of this message | ||
Note Submitter: tecnico at overant dot com
----
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.