note 38409 added to function.addcslashes
| From: | phoebebright at spamcop dot net | Date: | Fri, 19 Dec 2003 16:01:58 +0000 |
| Subject: | note 38409 added to function.addcslashes | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-62239@lists.php.net to get a copy of this message | ||
Couldn't get this function to work correctly until I used double quotes. ie. use
addcslashes($mystring,"\0..\37")
NOT addcslashes($mystring,'\0..\37') as you will get unexpected results!
----
Manual Page -- http://www.php.net/manual/en/function.addcslashes.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+38409
Delete -- http://master.php.net/manage/user-notes.php?action=delete+38409&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+38409&report=yes
Search -- http://master.php.net/manage/user-notes.php