lcruz Posted March 23, 2006 Share Posted March 23, 2006 hello guys, my problem: i used to set field text or any form objects like text field, and in php i do $nameofvar to get the value of each text field or button or whatever it is, but recently I moved to another server, and now i have to do$_POST['nameofvar']; , to get the value of any var, is there any logical reason for that? or maybe the php version ?, well i would aprecciate help for this!thnk you, regards Link to comment https://forums.phpfreaks.com/topic/5564-php-versions-question/ Share on other sites More sharing options...
kenrbnsn Posted March 23, 2006 Share Posted March 23, 2006 That is because register_globals is disabled on your new server, like it should be. Read about register_globals in the [a href=\"http://www.php.net/register_globals\" target=\"_blank\"]fine manual[/a].Ken Link to comment https://forums.phpfreaks.com/topic/5564-php-versions-question/#findComment-19855 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.