note 12183 deleted from function.session-start by jimw
| From: | jimw@php.net | Date: | Fri, 07 Dec 2001 20:26:04 +0000 |
| Subject: | note 12183 deleted from function.session-start by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-21904@lists.php.net to get a copy of this message | ||
One of the above notes has a typo.
teriumNOSPAM@techie.com
07-Feb-2001 10:22
He had incorrectly referenced a variable '$array' that does not exist. Here is the
corrected clip:
$initvars = array("admin", "sessionvar2", "sessionvar3");
for ($i = 0; $i < sizeOf($initvars); $i++) {
${$initvars[$i]} = $HTTP_SESSION_VARS[$initvars[$i]];
}