You are here: Re: Sending a variable « PHP Programming Language « IT news, forums, messages
Re: Sending a variable

Posted by Rik on 01/31/07 18:07

Gunnar G <debian@comhem.se> wrote:

>>>> In foo.php I do (essentialy)
>> That's not the only thing he missed.
> Notice the word essentialy ;-)
>
>> Now, anough teasing, let's help the OP:
>> $a000 & $Vtempfname will only be available in bar.php if
>> register_globals
>> is enabled. This would not be a wise choice. To access the variables use
>> $_GET['a000'] & $_GET['Vtempfname'].
> Oh my... I'm going to set fire to my old PHP programming book and get me
> one
> that covers PHP 5.

Well, PHP 4.2 actually (that's when it defaulted to off). You're right
though that books assuming register_globals is on are outdated, sloppy, or
both :)
--
Rik Wasmus

 

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

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