RE: PHP not returning variables!

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

 



[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