You are here: Re: a simple clarification about $_SESSION « PHP Programming Language « IT news, forums, messages
Re: a simple clarification about $_SESSION

Posted by Toby Inkster on 09/26/05 00:25

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

 

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

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