Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Oct 2005
    Posts
    1
    Member #
    11588
    To avoid spammers, I had hidden our email address in an encrypted Java script code snippet. The trouble is, if you don't have your browser enabled for JS, a big ugly message is displayed instead of a mail to link. Not good for business at all...

    I thought about using a graphic that has the email address in it, but that is not terribly user friendly either.

    Any suggestions for staying spam free but making you email address available to the public?

    Thanks :classic:

  2.  

  3. #2
    Senior Member Fallout's Avatar
    Join Date
    Aug 2003
    Location
    Richmond, Virginia
    Posts
    543
    Member #
    2748
    Create a contact form that sends data to PHP's mail() function. The PHP code is not visible to the user, so they can't grab your email.

  4. #3
    Senior Member
    Join Date
    Feb 2005
    Location
    Canada
    Posts
    435
    Member #
    8983
    if are useing javascript and it sounds like machines u are avoiding try this:
    Code:
    function sm(name)
    {
    var mail_dom = "@hotmail.com" //or your own
    return = 'mailto:' + name + mail_dom 
    }
    HTML Code:
    <body>
    <script type="text/javascript">
    document.write('<a href="' + sm(name_here) + '">email me</a>')
    </script>
    </body>
    Thee Pyro Wolf


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 04:17 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com