"Afan Pasalic" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi everyone!
>
> My hosting company has global turned on. But I want to code using more
safe
> global off. My question though is how I can do it "locally", in my script?
> I tried to use
> ini_set("register_globals", FALSE);
> but it still doesn't work.
> On php.net manual I can find WHAT I have to do and reasons but not HOW.
>
> Thanks for any help!
>
> Afan

Please don't hijack other people's thread: Try this at the top of *every*
script:

ini_set('register_globals', 0);

Regards, Torsten Roehr

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to