Re: crypt()
| From: | Torsten Roehr | Date: | Thu, 26 Aug 2004 08:50:29 +0000 |
| Subject: | Re: crypt() | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-194763@lists.php.net to get a copy of this message | ||
"Afan Pasalic" <afan@afan.net> wrote in message
news:php.general-194731@news.php.net...
> 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