Jump to content

Archived

This topic is now archived and is closed to further replies.

lcruz

PHP versions question

Recommended Posts

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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.