You are here: Re: Can a form change session variables? « PHP Programming Language « IT news, forums, messages
Re: Can a form change session variables?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация