naming of new filter function

php.internals

Greg Beaver

21 years ago
Hi, I would prefer a more active name like "sanitize" over "filter" sanitize_input() or clean_input() Greg

Nick Loeve

21 years ago
Greg Beaver wrote:
> Hi, > > I would prefer a more active name like "sanitize" over "filter" > > sanitize_input() or clean_input() > > Greg >
I had a go a while ago at doing something like an input filter: http://www.trickie.org/cleaner/ It is crap, and Rasmus told me at the time about the input_filter hook, but i never fixed it up. I like the name clean_input()! Cheers Nick Loeve