Thanks, the stripslashes() function worked perfectly!
-Original Message-
From: Jacob A. van Zanen [mailto:[EMAIL PROTECTED]
Sent: Friday, August 22, 2003 5:48 PM
To: [EMAIL PROTECTED]
Cc: Joe Walker; [EMAIL PROTECTED]
Subject: Re: [PHP-DB] It\'s wierd when I\'ve used forms...
I
I've got a form (for sending mail to a user) and the user input is in an
html form using the post method to pass:
textarea name=message rows=10 cols=80 wrap=virtual
along with some other vars to a php page which sends the message using:
mail([EMAIL PROTECTED], $msgSubject, $message, From:
You'll have to look into stripslashes function (of the top of my head)
PHP automatically puts slashes around variables
Jack
On Fri, 2003-08-22 at 23:35, Joe Walker wrote:
I've got a form (for sending mail to a user) and the user input is in an
html form using the post method to pass:
I mean in front of special characters off course :-)
Jack
On Fri, 2003-08-22 at 23:40, Jacob A. van Zanen wrote:
You'll have to look into stripslashes function (of the top of my head)
PHP automatically puts slashes around variables
Jack
On Fri, 2003-08-22 at 23:35, Joe Walker wrote:
From: Jacob A. van Zanen [EMAIL PROTECTED]
You'll have to look into stripslashes function (of the top of my head)
PHP automatically puts slashes around variables
PHP automatically escapes quotes in incoming form data when magic_quotes_gpc
is enabled. If you do not want then, then either