note 20577 deleted from function.session-register by sniper
| From: | sniper@php.net | Date: | Thu, 31 Oct 2002 00:46:50 +0000 |
| Subject: | note 20577 deleted from function.session-register by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-38784@lists.php.net to get a copy of this message | ||
If globals is off on your system, or if, more general, you want to write Code for others and you
can't assure the Session variables are registered globally, you could use the technique of
'phpMyAdmin' (I guess among others) - just use 'extract' at the right time.
<?php
// unset critical vars
@session_start;
extract($HTTP_SESSION_VARS);
?>