You are not logged in.
Pages: 1
Hello!
I'm trying to use Xinha to help a client construct a newsletter which they can then send via a HTML form (using PHP). Whenever I create links (in Xinha using the LINK button), however, they come up in OSX's Mail program with a preceding: x-msg://4/%22
So http://www.mywebsite.com appears as x-msg://4/%22http://www.mywebsite.com
I've sent the email as plain text and I can see that the problem is that Xinha is escaping quotes. If I put the same HTML directly into PHP by hand, it works fine, but (presumably) Xinha must be turning the links into this:
<a href=\"www.mywebsite.com\">www.mywebsite.com</a>
How can I stop Xinha from doing this (assuming it IS Xinha doing this)?
Thanks for any help!
- Johnny
Edit: Added some clarity!
Last edited by JohnnyW (2007-11-08 08:46:59)
Offline
Is it right that you refer to the backslashes before the quotes? That's PHP's magic quotes function, you can easilyremove them like this
$value = (ini_get('magic_quotes_gpc') ? stripslashes($value) : $value);
If you mean that the quotes are encoded into > (which I don't see in your post, but maybe it's because of the forum display), there's nothing todo about it
Edited: Sorry,I have been waiting to long. What was here before was not my answer, just an accident
Last edited by ray (2007-11-08 09:01:25)
Offline
I see! Thanks for that! Worked great!
Editing posts can be a pain
I see you were testing that > would be displayed? That makes sense now
Last edited by JohnnyW (2007-11-08 09:12:58)
Offline
Pages: 1