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 Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.