RE: [PEAR] Notices on log from DB MySQL module
| From: | LIMBOURG Arnaud | Date: | Thu, 12 Dec 2002 10:37:12 +0000 |
| Subject: | RE: [PEAR] Notices on log from DB MySQL module | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-2954@lists.php.net to get a copy of this message | ||
It will need some adjustments
mysql_real_escape_string
(PHP 4 CVS only)
This is taken from the documentation. So there would be a need to test PHP
version and call the right function. And that will make sense only when 4.3
is released.
Arnaud.
> [12-Dec-2002 10:30:16] PHP Notice: mysql_escape_string is
> deprecated; use
> mysql_real_escape_string() instead in
> /home/mark/apache/php/lib/php/DB/mysql.php on line 667
>
> On the PHP error log. This is spamming the log and hiding real errors.
>
> Can it be (or is it) fixed?
>
> Mark
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>