Bug #18041: stripslashes function

From: Date: Fri, 28 Jun 2002 10:09:43 +0000
Subject: Bug #18041: stripslashes function
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-12388@lists.php.net to get a copy of this message
From: der_brief@yahoo.com Operating system: Windows2000 PHP version: 4.1.2 PHP Bug Type: Unknown/Other Function Bug description: stripslashes function I use now the stripslashes function,here is my code <form action='regex.php' method=post> String: <input type=text name='string' value=<?echo stripslashes($string);?>><br> <input type=submit value=ok><br> <?php $str = stripslashes($str); echo "$str<br>"; ?> </form> when I only write '"string' without '"' at the end in <input..>, you should see what in <input..> stand . But when I write '"string"' or 'string"', it is normal . That's all .. -- Edit bug report at http://bugs.php.net/?id=18041&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18041&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18041&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18041&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18041&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18041&r=support Expected behavior: http://bugs.php.net/fix.php?id=18041&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18041&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18041&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18041&r=globals

« previous php.bugs (#12388) next »