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

Home » Imported messages » comp.lang.php » e-mail Hyperlink Code
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: e-mail Hyperlink Code [message #176998 is a reply to message #176996] Tue, 14 February 2012 23:37 Go to previous messageGo to previous message
Beauregard T. Shagnas is currently offline  Beauregard T. Shagnas
Messages: 154
Registered: September 2010
Karma:
Senior Member
Mike Copeland wrote:

> How do I code the syntax to get the e-mail link at the end of the code
> below to (1) show it's a hyperlink and (2) call the user's e-mail client
> to create and send the e-mail request? I'm able to do this in HTML code
> and file (e.g. href="mailto:..."), but it doesn't work in a PHP file.
> Please advise. TIA
>
> <div class="eventInfo">To request a confirmation e-mail be resent or to
> update a participant e-mail, send the participant name and e-mail
> address to: patsrun(at)pattillmanfoundation(dot)org.</div>

Use the mailto.

<div class="eventInfo">To request a confirmation e-mail be resent or to
update a participant e-mail, send the participant name and e-mail address
to: <a
href='mailto:patsrun(at)pattillmanfoundation(dot)org'>patsrun(at)pattillmanfoundation(dot)org</
a>.</div>

I'd recommend using some method of obfuscating it though, to keep the
spammer bots from harvesting the address.

--
-bts
-This space for rent, but the price is high
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Owner & Group extract as 101 101 instead of root system
Next Topic: 0.1% tests failed while trying to build 5.3.10
Goto Forum:
  

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

Current Time: Mon Nov 25 03:51:34 GMT 2024

Total time taken to generate the page: 0.04227 seconds