Announcement

Collapse
No announcement yet.

Protecting email address from spammers

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Protecting email address from spammers

    I am currently implementing the "How do I protect my email address from spammers?" script from the knowledgebase. Am I correct in assuming that I need to leave the "click to email us" test as it is and cannot change it to the actual email address I am trying to protect. If correct is there a way of displaying the email address safely so that it is readable rather than displaying "click to email us" or similar.

    <script type=text/javascript>
    var _u = "sales";
    var _d = "domain.co.uk";
    var _l = _u + "@" + _d;
    var _m = "click to email us";
    document.write("<a href='mailto:"+_l+"'>"+_m+"</a>");
    </script>

    Edit: I assume I could you an image of the email address in some way.

    P.S On a similar note, when launching my v7 site last year I incorporated the NMS FormMail script on a "Price Match" form, I will shortly be relaunching the site redesigned in V9, is NMA FormMail still considered a good choice of script of the form or is it now old hat and is the built in Actinic "Contact Us" script in V9 considered more or less secure in respect to use by spammers.
    Darren Guppy
    Golf Tee Warehouse
    Golf Tees and Golf Accessories.

    #2
    You can change "click to email us" to anything you want.
    Reusable Snore Earplugs : Sample Earplugs - Wax Earplugs - Women's Earplugs - Children's Earplugs - Music Earplugs - Sleep Masks

    Comment


      #3
      If you display the sales@domain.con on screen some of the clever bots will still harvest this despite the underlaying mailto: being obfuscated.

      You could change the var _m to introduce a .gif with the email address to display a text graphic for human readers.


      Bikster
      SellerDeck Designs and Responsive Themes

      Comment


        #4
        is NMA FormMail still considered a good choice of script of the form or is it now old hat and is the built in Actinic "Contact Us" script in V9 considered more or less secure in respect to use by spammers.
        in my experience both forms are secure. i've got severa lactinic sites still using NMS as they were integrated into actinic before actinic added their formail in place of email link.

        however i now integrate a php form as i prefer to add capcha, i'm not sure if NMS has capcha integrated

        Comment


          #5
          I have used this eMail 'Cloaker' for as few years now.
          There's a Pop-up on the download page which you can ignore.
          http://www.codefoot.com/software/ecloaker/index.html

          Comment


            #6
            Thanks for the many helpful replies.
            I would like to have the email address visable in the form of a image, and have attempted to incorporate it into var _m as suggested by Jonty, but Actinic tells me "A javascript erro has been found on the page ('Expected Identifier')

            Edit:
            I have solved the error by changing double quotes to single quotes:
            The working line of code I have used is:

            var _m = '<img src="xEmailAddress.gif" width="161" height="11" border="0">';
            Jo, Thanks for the advise from a fellow Exeter based business regarding the NMS / PHP form, do you have a particular PHP script you would recommend.
            I liked the easy to read capcha on the pinbrook.net Contact Us form.
            Darren Guppy
            Golf Tee Warehouse
            Golf Tees and Golf Accessories.

            Comment


              #7
              Hi Darren

              you are just around the corner from me, i must go and pin point you exactly as i was walking along your road on friday afternoon and collided with a postie going in to one of the houses to collect parcels - i wonder if it was you?

              The php form is use is supplied by http://www.dagondesign.com/ i must admit i chose this one as it is easy to read, i hate the ones that you have to refresh several times before you can input it safely. if spam bots get clever enough to read it I'll change it - but in the meanwhile i hope i don't make life to difficult for people

              Comment


                #8
                We are located at the bottom of the hill next to the Hamlin Gardens Junction.
                It may well have been the postie collecting our parcels if it was around 3pm
                Darren Guppy
                Golf Tee Warehouse
                Golf Tees and Golf Accessories.

                Comment


                  #9
                  Thanks Jo for the link to the PHP form script and will have a go at incorporating it into my new site soon.

                  I have now protected the mailto link with javascript and an image, should I also protect text containing an email address without a mailto link, for example in a retunrs policy page asking customers to send an email to "returns@mydomain.com"
                  Darren Guppy
                  Golf Tee Warehouse
                  Golf Tees and Golf Accessories.

                  Comment


                    #10
                    anything with a maito: link needs to be protected, as this is what email harvesters are trained to look for.

                    yep defo, your house!

                    Comment


                      #11
                      What about email addresses without a mailto link are these also vulnerable.

                      I might have a go at replacing them with an image, although I don't want to put excessive images on a page and slow down loading times.

                      I could also generate the address using unicode which might be more difficult for robots to spot when no mailto link is included.
                      Darren Guppy
                      Golf Tee Warehouse
                      Golf Tees and Golf Accessories.

                      Comment


                        #12
                        without the "mailto" the link will not launch the email client so you may as well simply have an image on screen. A GIF image with the email address will be less than 1kb and provide no additional page load times.

                        With javascript you need to escape the reserved charachters such as the quotation marks ... eg http://www.htmlgoodies.com/beyond/ja...le.php/3470891


                        Bikster
                        SellerDeck Designs and Responsive Themes

                        Comment


                          #13
                          I have downloaded the "Secure PHP Form Mailer Script" from www.dagondesign.com, but am unsure how to implement it within Actinc.

                          I have followed the instructions at dagondesign and now have a webpage with a working form, but is not within the actinc layout.
                          See:http://www.golfteewarehouse.co.uk/dd...formmailer.php

                          I have read the v9 AUG p27 - "Creating PHP functions" and assume I should be creating a file called "custom.php" as mentioned at the bottom of the AUG articale but still need a few pointers, as the script inlcudes the following files:
                          dd-formmailer.css
                          dd-formmailer.php
                          recaptchalib.php
                          English.php (within a folder called "Lang")

                          Where should these files go?
                          Darren Guppy
                          Golf Tee Warehouse
                          Golf Tees and Golf Accessories.

                          Comment


                            #14
                            attached screen image is how i did it, but i wanted it to run at root as non brochure pages use the same script.

                            to make it run within acatalog, remove the ../ in front of contact.php and add files to additional files for upload
                            Attached Files

                            Comment


                              #15
                              Thanks, but I think I am missing something.

                              How do I get the form to display the outer layout (sidebars header, etc) as at the moment by page just displays the form on a blank page.
                              Should the value $standalone be set to TRUE ot False

                              Am I correct in assuming that I would need to create a brochure page called contact and rename the page filename to contact.php.
                              Should I be adding anything to the actinic_main.php as mentioned in the AUG

                              I am clear on how to generate the code to link to the page once created.

                              Do you have an example of your contact.php script that I can use to compare to mine.
                              Darren Guppy
                              Golf Tee Warehouse
                              Golf Tees and Golf Accessories.

                              Comment

                              Working...
                              X