You are here: Re: Turn off Register Globals gives me a headache « PHP Programming Language « IT news, forums, messages
Re: Turn off Register Globals gives me a headache

Posted by Angelos Devletoglou on 03/01/06 18:40

> Which one does phpinfo() say you're using?
>
This is what I am getting from phpinfo()
Configuration File (php.ini) Path /etc/php.ini
Scan this dir for additional .ini files /etc/php.d
additional .ini files parsed /etc/php.d/cce.ini, /etc/php.d/gd.ini,
/etc/php.d/i18n.ini, /etc/php.d/imap.ini, /etc/php.d/mbstring.ini,
/etc/php.d/mysql.ini
..
..
..
register_globals On On
..
..
..

I edit the /etc/php.ini
and here is a part of it with register_globals

..
..
..

; You should do your best to write your scripts so that they do not
require
; register_globals to be on; Using form variables as globals can easily
lead
; to possible security problems, if the code is not very well thought
of.
register_globals = Off

; This directive tells PHP whether to declare the argv&argc variables (that
; would contain the GET information). If you don't use these variables,
you
; should turn it off for increased performance.
register_argc_argv = On
..
..
..

 

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

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