note 57845 deleted from function.stripslashes by philip
| From: | philip@php.net | Date: | Wed, 07 Feb 2007 04:56:04 +0000 |
| Subject: | note 57845 deleted from function.stripslashes by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-123012@lists.php.net to get a copy of this message | ||
Note Submitter: ndl at webspeed dot dk
----
The note below still outputted slashes in my script, this one removes it all. It is really just a
repeat of the below note, and is quite simple, but it made it work for me (after a few hours with
unremoveable slashes)
if(!empty($_POST)){
foreach($_POST as $x => $y){
$_POST[$x] = stripslashes($y);
foreach($_POST as $x => $y){
$_POST[$x] = stripslashes($y);
}
}
}