Reply to Re: A question on predefined variables

Your name:

Reply:


Posted by flamer die.spam@hotmail.com on 10/02/06 21:21

Le Poisson wrote:

> My apologies if my question sounds childish. Please explain the
> following code to me. I found it at the beginning of a script.
>
> if (isset($_REQUEST['GLOBALS']) OR isset($_FILES['GLOBALS']))
> {
> echo 'Request tainting attempted.';
> exit;
> }
>
> Also, I'll be very grateful if someone can suggest me a good reference
> on predefined variables. (The one included in PHP Manual didn't help
> much.)
>
> Thanks a lot.

Its saying if $globals has a value then exit the script, ie. its trying
to prevent people from setting values themselves.. google has many
great php resources.

Flamer.

[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

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