[thelist] Using JavaScript for non-clickable email addresses

Chris Heilmann lists at onlinetools.org
Wed Jan 26 09:46:30 CST 2005

>> Why bother with a mailto link then? A contact link with an ID would do
>> the same then.
> Maybe I'm being dumb, but I don't understand what this means - how does
> this technique work?

I just pondered a bit about that and wondered what you thing of that idea:

Link to a contact.php page with an id

<a href="contact.php?id=222">

The PHP page then checks the referrer and IP and gets the email from a
database or other mean of storage and sends back a mailto: header:

  insert referrer testing and DB voodoo here

Wouldn't that be a quite safe solution?

Chris Heilmann
http://icant.co.uk/ | http://www.onlinetools.org/

More information about the thelist mailing list