Bugs item #1838864, was opened at 2007-11-26 18:44
Message generated for change (Comment added) made by christian_boltz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1838864&group_id=191583
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core
Group: v 2.1
>Status: Closed
>Resolution: Duplicate
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: mysql_real_escape_string need a resource identifier
Initial Comment:
In according with the PHP Manual, mysql_real_escape_string funcion needs a resource link identifier
QUOTE:
The MySQL connection. If the link identifier is not specified, the last link opened by mysql_connect() is assumed. If no such link is found, it will try to create one as if mysql_connect() was called with no arguments. If by chance no connection is found or established, an E_WARNING level warning is generated.
mysql_real_escape_string is used into the function escape_string and no $link is available so the escaping fails
----------------------------------------------------------------------
>Comment By: Christian Boltz (christian_boltz)
Date: 2007-11-27 01:02
Message:
Logged In: YES
user_id=593261
Originator: NO
This is fixed since a quite long time:
http://sourceforge.net/tracker/index.php?func=detail&aid=1743279&group_id=191583&atid=937964
Please upgrade to 2.2rc1 or the latest SVN version.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1838864&group_id=191583
|