You are here: Re: good code, bad code, magic code « PHP Programming Language « IT news, forums, messages
Re: good code, bad code, magic code

Posted by Gordon Burditt on 02/25/06 01:50

>i've discovered (on my server) that it doesn't seem to be necessary to
>call data from a form via $_POST, or to retrieve cookies via $_COOKIE,
>and other such things; they are available by name alone. however, i've

register_globals is a security problem. Don't write code that
depends on it.

>heard that just because you CAN do something, doesn't mean you SHOULD.
>my question: is this considered bad practice?

Yes. And you'll probably find some hosting companies that
WILL NOT turn on register_globals for any price.

Gordon L. Burditt

 

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

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