|
Posted by Tony Marston on 06/24/89 11:29
"peter" <plaz987@yahoo.com> wrote in message
news:1128979066.457516.106340@f14g2000cwb.googlegroups.com...
>I just took over the website at work. I am still learning PHP.
> Register_globals are on and the script appears to be coded to take
> advantage of this. I know how to recode the script, but am unsure how
> to turn them off when I am done. I have googled and came up with
> placing
>
> php_flag register_globals off
>
> in the .htaccess file.
>
The correct syntax is:
php_value register_globals 0
This will only work if your web host has actually configured Apache to look
in .htaccess files.
--
Tony Marston
http://www.tonymarston.net
Navigation:
[Reply to this message]
|