Reply to Re: [PHP] Re: Select and $_POST

Your name:

Reply:


Posted by "Richard Lynch" on 11/10/05 23:48

On Wed, November 9, 2005 7:15 pm, Chris Shiflett wrote:
> Ben Ramsey wrote:
>> $clean = array();
>> $sql = array();

Here's an idea... Quite possibly half-baked.

Suppose PHP had a superglobal $_CLEAN which was an empty array.

Further suppose it was documented in the manual as *the* place to put
your scrubbed data.

This rather small and hopefully inexpensive change (in terms of PHP
Dev/Docs team work) would quite possibly improve scripts by newbies,
simply by nudging them in the proper direction, because it would be a
documented feature, and it would have all the nifty cross-links in the
manual and all that.

It would also help to keep code cleaner to have $_CLEAN be a
superglobal rather than just something I made up and have to declare
as "global" all the time.

Comments? Suggestions? Derogatory remarks?

PS
What does Chris Shifflett use to validate an email?
Enquiring minds want to know!
:-)

--
Like Music?
http://l-i-e.com/artists.htm

[Back to original 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

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