[thelist] EMail format question.

Burhan Khalid thelist at meidomus.com
Fri Nov 14 05:41:01 CST 2003


Ken Moore wrote:
> Hi all,
> 
> I know that there is simple solution to this one.
> 
> On a form, using PHP to send an email that includes a comment area, I 
> type in:
> "It's me again."
> 
> And in the resulting email, I get this:
> "It\'s me again."
> 
> What to do?

The reason its doing that is because you have magic_quotes turned on 
(which automatically escapes incoming data). You can turn that off, or 
use stripslashes().


-- 
Burhan Khalid
thelist[at]meidomus[dot]com
http://www.meidomus.com
-----------------------
"Documentation is like sex: when it is good,
  it is very, very good; and when it is bad,
  it is better than nothing."



More information about the thelist mailing list