#23346 [NEW]: stripslashes extention
| From: | php at dries dot net | Date: | Fri, 25 Apr 2003 15:38:20 +0000 |
| Subject: | #23346 [NEW]: stripslashes extention | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-38372@lists.php.net to get a copy of this message | ||
From: php at dries dot net
Operating system: all
PHP version: 4.3.0
PHP Bug Type: Feature/Change Request
Bug description: stripslashes extention
I think it would be usefull to extend the stripslashes function so it would
check for magic_quotes on or of. So, for example:
stripslashes($string) would always strip slashes
while
stripslashes($string, 1) would only strip slashes when magic_quotes is on
--
Edit bug report at http://bugs.php.net/?id=23346&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23346&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23346&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23346&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23346&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23346&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23346&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23346&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23346&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23346&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23346&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23346&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23346&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23346&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23346&r=gnused