Re: a simple clarification about $_SESSION
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: a simple clarification about $_SESSION

From: Toby Inkster <usenet200509@tobyinkster.co.uk>
Date: Sun Sep 25 2005 - 23:25:07 CEST

Joseph S. wrote:

> Am i correct in saying that usage of $x in place of $_SESSION['x'] will
> not work if register_globals is Off?

You are.

Of course, you could just add this line to your code:

        $x = $_SESSION['x'];

and then you can use $x in place of $_SESSION['x'].

-- 
Toby A Inkster BSc (Hons) ARCS
Contact Me  ~ http://tobyinkster.co.uk/contact
Received on Tue Oct 18 02:27:54 2005