You are here: Re: turn register_globals off? « PHP Programming Language « IT news, forums, messages
Re: turn register_globals off?

Posted by Tony Marston on 07/04/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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация