note 7213 deleted from AddCSlashes by sniper
| From: | sniper@php.net | Date: | Sun, 01 Oct 2000 22:45:31 +0000 |
| Subject: | note 7213 deleted from AddCSlashes by sniper | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5806@lists.php.net to get a copy of this message | ||
<P>
I reach what PHP4 does with<BR>
$Param .= '{' . $Key . ' "' . addcslashes($Value, '"') .
'"} '; <BR>
in PHP3 with<BR>
// A quote must be replaced by a "quote" to get a quote with a leading
backslash.<BR>
$Param .= '{' . $Key . ' "' . ereg_replace(''',
''"'"'', ereg_replace('"', '"',
&$Value)) . '"} ';
</P>