|
-
Apr 4th, 2002, 11:17 AM
#1
Thread Starter
Hyperactive Member
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
Last edited by prokhaled; Apr 4th, 2002 at 01:22 PM.
-
Apr 4th, 2002, 11:50 AM
#2
Fanatic Member
-
Apr 8th, 2002, 09:33 AM
#3
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
-
Apr 8th, 2002, 10:54 AM
#4
can we see this code you use to send the mail.
-
Apr 8th, 2002, 12:17 PM
#5
Thread Starter
Hyperactive Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|