hii all..

i developed a small website, in which a query sends an email to an user containing href link with 2 parameters(userid, key).
i'm getting the parameters into my php file and matching them with DB..

it is working smoothly, when i test on my localhost, but i'm getting a warning when i upload the same files to my server.. here's the error:

Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0
how can we fix this error? after seeing some sites, some body advised to upload a .htaccess file with this line added (php_flag register_globals on
), i did the same, but still i can see the above warning..
how can we set it manually in php code?
ini_set("register_golbals=1"); is this correct one?
please let me know..
thanks,.