Backslashes before quotes in mailing list
johngaltnh 0
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: Backslashes before quotes in mailing list
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
Backslashes before quotes in mailing list
Find in mod_mail.php this line:
and add before:
This will remove the slashes from the emails
Find in mod_mail.php this line:
$query = DBQuery("SELECT * FROM esselbach_st_mails WHERE mail_website = '$website'");
and add before:
$newstitle = stripslashes($newstitle);
$newstext1 = stripslashes($newstext1);
This will remove the slashes from the emails
1 Re: Backslashes before quotes in mailing list
Jim 1
From: -
From: -
Backslashes before quotes in mailing list
Basically that’s how PHP parses quotes within quotes. It has to escape out the internal set of quotes with backslashes else it would think it would have to parse it as another line of code.
Basically that’s how PHP parses quotes within quotes. It has to escape out the internal set of quotes with backslashes else it would think it would have to parse it as another line of code.
I'm still using version 1.3x of Storyteller.
I've run into a problem with mailing lists. When the mailing is sent as plaintext, a backslash shows up before each " or '. For example:
When interviewed, Joe Schmoe said \"I dunno why you are asking me a question!\"
Any ideas would be appreciated! Thank you!
Brett