Results 1 to 5 of 5

Thread: Why data changed auto

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2002
    Posts
    259

    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.

  2. #2
    Fanatic Member Gimlin's Avatar
    Join Date
    Dec 2001
    Location
    Hell
    Posts
    734
    its .gif for starters

  3. #3
    ricmitch_uk
    Guest
    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

  4. #4
    scoutt
    Guest
    can we see this code you use to send the mail.

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2002
    Posts
    259

    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
  •  



Click Here to Expand Forum to Full Width