note 7196 modified in fputs by ronabop
| From: | ronabop@php.net | Date: | Sat, 12 Aug 2000 21:52:23 +0000 |
| Subject: | note 7196 modified in fputs by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1598@lists.php.net to get a copy of this message | ||
Re:escaping slashed (\) data. The problem with using a:
fwrite($fd, stripslashes($string))
approach is that you can no longer use the \ sign in a script. So if you have \", the \ sign
will be stipped in the saved text.
http://www.php.net/manual/function.fputs.php