Re: PHP not returning variables!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx> wrote in message 
news:0CEC8258A6E4D611BE5400306E1CC9270915AB97@xxxxxxxxxxxxxxxxxx
> [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. 

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux