RE: [PHP] ' as \' in posted form data: how to fix

From: Date: Thu, 19 Oct 2000 03:25:57 +0000
Subject: RE: [PHP] ' as \' in posted form data: how to fix
Groups: php.general 
Request: Send a blank email to php-general+get-21059@lists.php.net to get a copy of this message
$string = stripslashes ($string); possibly. -----Original Message----- From: Alan Tu [mailto:alantu@alpha-pro.net] Sent: October 19, 2000 11:24 AM To: php-general@lists.php.net Subject: [PHP] ' as \' in posted form data: how to fix Hello, I have a form being submitted to PHP 4 (release candidate 1). The data is text submitted in the post method. However, the ' in the text is represented as \' when I e-mail the text. The data isn't url encoded--spaces are spaces. Seems this is a PHP issue. How do I fix this? Alan

« previous php.general (#21059) next »