Jump to content


PHP versions question

  • Please log in to reply
1 reply to this topic

#1 lcruz

  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 23 March 2006 - 05:42 AM

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

#2 kenrbnsn

  • Staff Alumni
  • Advanced Member
  • 8,235 posts
  • LocationHillsborough, NJ, USA

Posted 23 March 2006 - 05:49 AM

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].


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users