Re: PHP not returning variables!

From: Date: Thu, 01 Dec 2005 17:22:11 +0000
Subject: Re: PHP not returning variables!
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-26561@lists.php.net to get a copy of this message
ahh! Thanks :D Well, I may aswell edit my scripts now if they may need editing in the future anyway for PHP6. Many Thanks! Matt. "Jay Blanchard" <jay.blanchard@THERMON.com> wrote in message news:0CEC8258A6E4D611BE5400306E1CC9270915AB97@smtmb.tmc.local... > [snip] > But on the new server it doesnt, it produces a blank page. The following > however, does work. > > <? > echo $_GET['var']; > ?> > > Any idea why there acting differently? > [/snip] > > Yep, because register_globals (in the php.ini--if you change it make sure > to > restart your web server so that ther settings take effect) is 'off' in the > new server. This is the recommended practice. As I understand it there > will > ot even be a register_globals setting in PHP6.

« previous php.windows (#26561) next »