FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Placing an URL in email
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Placing an URL in email [message #171740] Thu, 20 January 2011 02:12 Go to previous message
jwcarlton is currently offline  jwcarlton
Messages: 76
Registered: December 2010
Karma:
Member
I'm sending an HTML email through PHP, and the email includes a
website link. Like so:

<a href="http://www.example.com/whatever/?action=something&id=4300">
http://www.example.com/whatever/?action=something&id=4300
</a>

The problem I'm having is that the link is showing up in the email
like this:

http://www.example.com/whatever/?action=something&id300

Notice the last variable is "id300" instead of "id=4300".

I've tried using urlencode(), and while this does fix the actual link,
the displayed URL has the coded symbols. What function should I be
using to show the website link correctly?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: hack
Next Topic: Using a heredoc in PHP as in Perl
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 09:51:44 GMT 2024

Total time taken to generate the page: 0.04684 seconds