-
Why data changed auto
I tried to send message as HTML and I used that headers
$headers .= "Content-Type: text/html; charset=iso-8859-1\n";
the message has been send as html but there is a problem in a message
the problem that this code: <img src="http://vbs.8k.com/banner.gif">
changed auto to this code: <img src="\http://vbs.8k.com/banner.gif">
so the image does not appear !!
I do not add any (\) in code ??
How can I solve this problem ???
Thanks
-
-
Is the picture linked, like it is above?
If so, then it is your mail client, automatically creating the link.
If the slash is the greater problem, then I can't think why it is putting that in.
If you declare the string like this
PHP Code:
$image = "<img src=\"http://vbs.8k.com/banner.gif\">";
then there shouldn't be a problem.
All I can think of is that you've done this:
PHP Code:
$image = "<img src=""\[url]http://vbs.8k.com/banner.gif\[/url]">";
or some similar mistake, when declaring the string.
HTH :)
-
can we see this code you use to send the mail.
-
Code
that is code:
<?
$headers .= "From: $NAME <$FROM>\n";
$headers .= "Content-Type: text/html; charset=iso-8859-1\n";
mail ($TO, $SUBJECT,"$MESSAGE \n http://3kd.dk3.com",$headers);
?>
and i transfer the vlaue of $MESSAGE form textarea in HTML form in another page