Bug #12083 Updated: addslashes

From: Date: Thu, 12 Jul 2001 07:05:04 +0000
Subject: Bug #12083 Updated: addslashes
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-59794@lists.php.net to get a copy of this message
ID: 12083 Updated by: derick Reported By: xyrix@pisem.net Old Status: Open Status: Feedback Bug Type: Unknown/Other Function Operating System: Win32 PHP Version: 4.0.5 New Comment: Please post a short example to show what goes wrong and why. Derick Previous Comments: ------------------------------------------------------------------------ [2001-07-12 02:41:51] xyrix@pisem.net addslashes() don't properly work. Before use it, need add this: $str_any=str_replace("\\","\\\\",$str_any); and only then: $str_any=addslashes($str_any); ------------------------------------------------------------------------ ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=12083&edit=1

« previous php.dev (#59794) next »