StripSlashes From Mail
| From: | Waldo L. Jaquith | Date: | Wed, 28 Jun 2000 18:00:20 +0000 |
| Subject: | StripSlashes From Mail | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-3614@lists.php.net to get a copy of this message | ||
Folks,
I have a silly little problem. When sending mail, I want to strip the
slashes. But I don't see how that's possible. Example:
$mail_body = "Message full of \"\"\".";
mail("mail@example.com",
"mail subject",
"$mail_body");
So, when the mail arrives, I've got a message full of slashes. There is, of
course, no opportunity to strip those slashes. But I can hardly send mail
without stripping the slashes.
Is my only option to turn on magic quotes runtime? Is there another
solution to this? Thanks, folks.
Best,
Waldo
Waldo L. Jaquith
< waldo@munkandphyber.com >
< 804/979.2980 >
// Munk & Phyber
// 110B Second Street NE
// Charlottesville, VA 22902