Re: [PHP] Re: today i found the best function I've ever seen

2009-03-21 Thread 9el
   It's in the upcoming retrograde release: PHP 3.11 (For Workgroups). Sweet!  Will that improve security?  What about right mouse button, will it remove it? Not sure about that, but I heard it should fix the bug with my new mouse and the center button tilt clicker thingy I think

[PHP] Re: today i found the best function I've ever seen

2009-03-20 Thread Shawn McKenzie
Nathan Rixham wrote: if( !function_exists('clean_sql_term') ) { function clean_sql_term($term) { return $term; } } beautiful How is best to update all of my code to use this new function? Should I just search and replace 'mysql_real_esacpe_string(' with 'clean_sql_term('

Re: [PHP] Re: today i found the best function I've ever seen

2009-03-20 Thread Daniel Brown
On Fri, Mar 20, 2009 at 20:06, Shawn McKenzie nos...@mckenzies.net wrote: How is best to update all of my code to use this new function?  Should I just search and replace 'mysql_real_esacpe_string(' with 'clean_sql_term(' or does this replace all of my validations on inputs?  And I see the

Re: [PHP] Re: today i found the best function I've ever seen

2009-03-20 Thread Shawn McKenzie
Daniel Brown wrote: On Fri, Mar 20, 2009 at 20:06, Shawn McKenzie nos...@mckenzies.net wrote: How is best to update all of my code to use this new function? Should I just search and replace 'mysql_real_esacpe_string(' with 'clean_sql_term(' or does this replace all of my validations on

Re: [PHP] Re: today i found the best function I've ever seen

2009-03-20 Thread Jim Lucas
Shawn McKenzie wrote: Daniel Brown wrote: On Fri, Mar 20, 2009 at 20:06, Shawn McKenzie nos...@mckenzies.net wrote: How is best to update all of my code to use this new function? Should I just search and replace 'mysql_real_esacpe_string(' with 'clean_sql_term(' or does this replace all of