You are here: Re: Passing a variable between pages or scripts « All PHP « IT news, forums, messages
Re: Passing a variable between pages or scripts

Posted by kenoli on 11/15/06 15:27

I am noticing that even though they are both called "super globals,"
$GLOBALS and $_SESSION" have a different scope.

The former is only accessible within the immediate script, while the
latter, along with other super globals, is available anywhere in any
script any time until the session is ended.

This interesting as the description of their scope in php.net is
identical.

--Kenoli

 

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

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