Corrupted URL in an email

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • BLob

    Corrupted URL in an email

    I am using htmlMimeMail (from www.phpguru.org) to send a confirmation email
    to the user. The message has to have some links with parameters like this:
    <a href="urltomysi te/confirm.php?a=6 987456">confirm </a>. But when I look at
    the email it has
    <a href=3D"urltomy site/confirm.php?a=3 D6987456">confi rm</a>

    Wich means that confirm.php receives $a = "3D6987456" instead of $a =
    "6987456".
    How can I avoid this ? Of couse I could do $a = str_replace("3D ", "", $a);
    But I would like something general and better.

    Any help ?

    Nicolas


  • Philip Ronan

    #2
    Re: Corrupted URL in an email

    "BLob" wrote:
    [color=blue]
    > I am using htmlMimeMail (from www.phpguru.org) to send a confirmation email
    > to the user. The message has to have some links with parameters like this:
    > <a href="urltomysi te/confirm.php?a=6 987456">confirm </a>. But when I look at
    > the email it has
    > <a href=3D"urltomy site/confirm.php?a=3 D6987456">confi rm</a>
    >
    > Wich means that confirm.php receives $a = "3D6987456" instead of $a =
    > "6987456".[/color]

    No it doesn't. Look at the email headers. Can you see one that says
    "Content-Transfer-Encoding: quoted-printable"? I suggest you find out what
    that means.

    --
    phil [dot] ronan @ virgin [dot] net


    Comment

    • BLob

      #3
      Re: Corrupted URL in an email

      Thank you. The script receives indeed what it should receive. Problem solved
      (came from something else).

      Nicolas


      Comment

      Working...