Re: StripSlashes From Mail

From: Date: Wed, 28 Jun 2000 18:02:06 +0000
Subject: Re: StripSlashes From Mail
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-3617@lists.php.net to get a copy of this message
Have you tried using the PHP function stripslashes(string)? -- Brett M. Delia Software Engineer / Web Developer SportsMVP.com - Active Arts, Inc. 6650 S.W. Redwood Lane, Suite 200 Portland OR 97224 503.684.5806 x775 mailto:brettd@sportsmvp.com http://www.sportsmvp.com - http://www.activearts.com Do what you can, with what you have, where you are. --Theodore Roosevelt I have simply tried to do what seemed best each day, as each day came. -- Abraham Lincoln ----- Original Message ----- From: Waldo L. Jaquith <waldo@munkandphyber.com> To: <php-general@lists.php.net> Sent: Wednesday, June 28, 2000 11:00 AM Subject: [PHP] StripSlashes From Mail > 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 > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#3617) next »