SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot tchoune's Avatar
    Join Date
    Jan 2004
    Location
    Québec
    Posts
    103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Masking/scrambling emails

    I maintain a website with a lot of reviewers names and their emails addy.

    Lately,those poeple have been contacted by a competitor and received tons of spam, so they asked me if we could replace a part of their email addy like :
    myemail@xxxxx.com (just scrambling the domain name).

    I have search the web and this forum to see what was available and I have found some Javascript that could do it but then if you disable JS its worthless. So I was wondering if there is a function in ASP (some exist in PHP) that I could use on my pages.

    thanks

  2. #2
    SitePoint Wizard gRoberts's Avatar
    Join Date
    Oct 2004
    Location
    Birtley, UK
    Posts
    2,439
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    what you can do, is replace(recordset("email"), recordset("email"), "XXXXXXXXXXXXX") but keep the original address in the link, or you could just put the users id to another page that then responses to that e-mail address and opens up your e-mail software.

    Gav


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •