DB slashing?

From: Date: Tue, 09 Jan 2001 21:46:19 +0000
Subject: DB slashing?
Groups: php.pear 
Request: Send a blank email to php-pear+get-915@lists.php.net to get a copy of this message
I just downloaded the latest php to get a relatively recent version of PEAR, and I was wondering... Is there a plan to put any functions in the database specific include (DB/mysql.php for ex.) to escape strings properly with slashes? I know that there's a mysql_escape_strings function (though it doesn't show in the manual) and I don't know if the other databases have dedicated escaping functions. If it's not implemented, I think something like this should be, because I've heard that not all db's like escaping strings the same way. This would go a long ways towards allowing someone to really abstract themselves from the type of DB. -peace --- BEGIN GEEK CODE BLOCK ----------+---------- GAT d- s:+ !a C++$ UL/S/I/B++++$ P+ | "In the ongoing battle between objects L++ E- W+(+++) N K- w(---) O-- M@ | made of aluminum going hundreds of V(--) PS+++ PE Y+ PGP@ t++ 5 X+ R- | miles per hour and the ground going tv+ b- DI++++ D+(+++) G e>++ h--- | zero, the ground has yet to lose." r++ z+>+++ - END GEEK CODE BLOCK ---+

« previous php.pear (#915) next »