Reply to QUERY_STRING clarification

Your name:

Reply:


Posted by PhilM on 08/13/05 04:44

from php.net
$_SERVER is a superglobal.

So, if I have it right, with register_globals=on, I can access $QUERY_STRING
direct, but with register_globals=off, I would need to access $QUERY_STRING
with $_SERVER['QUERY_STRING ']

Now if my scripts were written in a register_globals=on environment, but
that alters to 'off', is it 'safe' to simply reassign the variable this way
at the first convenient moment?
$QUERY_STRING = $_SERVER['QUERY_STRING '];

[Back to original 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

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