note 18633 added to function.preg-replace

From: Date: Wed, 30 Jan 2002 02:18:57 +0000
Subject: note 18633 added to function.preg-replace
Groups: php.notes 
Request: Send a blank email to php-notes+get-25996@lists.php.net to get a copy of this message
Okay, I'm trying to read in a form with " and ' in it. The problem is that PHP automatically changes these to \" and '' without asking :( If I read in a file with " or ' in, it's fine and outputting to the screen is no problem. It's only when I read in from a form that a problem appears. If anyone's got any ideas how to solve this, feel free to mail me... Cheers! -- http://www.php.net/manual/en/function.preg-replace.php http://master.php.net/manage/user-notes.php?action=edit+18633 http://master.php.net/manage/user-notes.php?action=delete+18633 http://master.php.net/manage/user-notes.php?action=reject+18633

« previous php.notes (#25996) next »