Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #4815
| From | "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: e-mail Hyperlink Code |
| Date | 2012-02-14 23:37 +0000 |
| Organization | Shagnasty Software |
| Message-ID | <jher7h$f3q$1@dont-email.me> (permalink) |
| References | <MPG.29a498abdf5bf1719896f6@news.eternal-september.org> |
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@pattillmanfoundation.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@pattillmanfoundation.org'>patsrun@pattillmanfoundation.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
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
e-mail Hyperlink Code mrc2323@cox.net (Mike Copeland) - 2012-02-14 16:14 -0700
Re: e-mail Hyperlink Code Michael Fesser <netizen@gmx.de> - 2012-02-15 00:32 +0100
Re: e-mail Hyperlink Code "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> - 2012-02-14 23:37 +0000
Re: e-mail Hyperlink Code mrc2323@cox.net (Mike Copeland) - 2012-02-14 21:13 -0700
Re: e-mail Hyperlink Code Denis McMahon <denismfmcmahon@gmail.com> - 2012-02-15 09:13 +0000
Re: e-mail Hyperlink Code Captain Paralytic <paul_lautman@yahoo.com> - 2012-02-15 02:46 -0800
Re: e-mail Hyperlink Code Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-02-18 01:09 +0100
csiph-web