You are here: Re: passing variables to other pages « PHP Programming Language « IT news, forums, messages
Re: passing variables to other pages

Posted by Peter van Schie on 11/14/60 11:21

julian maisano wrote:

> Absolutely not :(
>
> I didn't know it was requeired. I'll look to php.net to see what the
> hell is $_GET ...
>
> By the way, I looked an example that didn't have $_GET and worked though

It does when register_globals is set to On in php.ini (which is a bad
idea). Another way is to first call:

extract($_GET, EXTR_SKIP);

and then do what you used to do. I wouldn't use that though and stick
with using $_GET['xx'], because you'll see immediately that the variable
in question is a GET variable and it's safer.

--
http://www.phpforums.nl

 

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

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