Re: packages that use deprecated SQL escape functions
2009-10-16, Ben Finney:
> Raphael Geissert <email@example.com> writes:
> > FTR, in php 5.3 the mysql_escape_string function is marked as
> > deprecated (and depending on the error reporting level it will warn)
> > and in php6 it is gone.
> Reference, please? I'd like to know what function is recommended to
> replace this one.
According to php.net , they recommend to use 'mysql_real_escape_string'
instead . Note that mysql_real_escape_string behaves a little bit different
from mysql_escape_string, though.
JID: firstname.lastname@example.org | http://lizaur.github.com/
2B82 A38D 1BA5 847A A74D 6C34 6AB7 9ED6 C8FD F9C1