Posted by Jerry Stuckle on 01/13/08 04:17
Peter Pei wrote:
> Unless I totally misunderstood... if I set register_globals to off, and
> set $_SESSION['foo'] = 1, I should not be able to access $foo, eight?
> but I can. am using win2000 + .2.5
>
Sure you can. The two have no relationship to each other.
$_SESSION['foo'] is an element of the $_SESSION array with the index of
'foo'.
$foo is a variable named 'foo'.
The only thing they have in common is an 'f' and two 'o's.
And please learn to quote properly.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|