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

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

 



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(' or does this replace all of my validations on inputs?
 And I see the if( !function_exists('clean_sql_term'), so obviously in
some PHP versions this function exists.  What versions?

-- 
Thanks!
-Shawn
http://www.spidean.com

-- 
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