It\'s wierd when I\'ve used forms...
| From: | Joe Walker | Date: | Fri, 22 Aug 2003 21:35:28 +0000 |
| Subject: | It\'s wierd when I\'ve used forms... | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-30062@lists.php.net to get a copy of this message | ||
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("username@domain.tld", $msgSubject, $message, "From: $addyFrom");
But if you type:
What's it's problem? I've got flippin' issues!
In the message box, it comes in e-mail as:
What\'s it\'s problem? I\'ve got flippin\' issues!
Escaping every apostrophe.
How do I have this not happen?
Thanks in advance.
Joe