Re: Easier way to clean GET Variables ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, August 25, 2005 9:54 pm, Chris Shiflett wrote:
> Proper filtering is necessarily tedious. There is no way to filter a
> last name, a server name, a file name, an IP address, a ZIP code, and
> a
> comment with the same function. Those who try wind up creating a
> "lowest
> common denominator" filtering function, or they confuse filtering with
> escaping (as demonstrated by some of the replies).
>
> As a good friend of mine likes to say, you have to get your hands
> dirty.

Can anybody point to a good resource of a collection of filtering for
common inputs such as those listed by Chris above?...

I've searched for that and generally found one of two things:

1. Nothing useful.
2. A system so baroque and complex and with so much other baggage, it
would be impossible to integrate.  See 1.

I'm looking more for code snippets or specific Regex functions for
each item, rather than a monolithic Borg-like "filtering package" and
have never one I liked.

That could be mostly my fault due to peculiar requirements, but there
it is.

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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux