The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> \'
CodeKing
post Feb 14 2007, 06:22 PM
Post #1


Advanced Member
****

Group: Members
Posts: 175
Joined: 12-September 06
Member No.: 118



I have a pretty simple script. There's a simple WYSIWYG text editor, and when you click Submit a PHP script mails it out to a group of recipients. Unfortunately, all the "'" become "\'" How do I stop this?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Peter1968
post Feb 14 2007, 07:00 PM
Post #2


Serious Coder
*****

Group: Members
Posts: 448
Joined: 23-September 06
Member No.: 213



You're PHP lucky user #400000000 to encounter this one.

Magic quotes!
http://www.php.net/magic_quotes
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Effovex
post Feb 14 2007, 11:54 PM
Post #3


Serious Coder
*****

Group: Members
Posts: 251
Joined: 6-January 07
From: Sherbrooke, Qc, Canada
Member No.: 1,477



That doesn't seem to be the problem. The problem seems to be with the text editor's function, and no, I have no idea how that can be prevented, especially not when I have no idea what software you're having problems with.

But you could just select all the text, copy it, and paste it into a email manually...


This post has been edited by Effovex: Feb 14 2007, 11:55 PM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 23rd April 2024 - 02:07 AM