blocking ip address from sending contact info

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

    • Feb 2009
    • 36

    blocking ip address from sending contact info

    Over the past couple of weeks we have been recieving emails through the contact form set up on my website which is great but for one thing, someone is just typing this sort of stuff
    Name : gmmoft
    Address : KtAjbYdXuRAPaCmFfmO
    City : BhvHBDpryk
    State : FalXluXMMhylRjZn
    P/code : LGpbCNqVaanoRwLDxfA
    Phone : quvkfhBfWXUaPCb
    Email : fhhsjm@zkwvbp.com
    Country : Select
    Button1 : Send
    which is kinda funny the first couple of times but quickly becomes irritating, so I was wondering if there is any way to trace and block the ip address from sending more of them

    Cheers

    Doods
    http://www.mobilemassage.org/
    http://www.fnqindependent.com.au/
  • Watdaflip
    Major General

    • Sep 2005
    • 2116

    #2
    Re: blocking ip address from sending contact info

    You could modify the script to send the IP address with the email, but that won't guarantee that the messages stop. It could be coming from multiple IP's.

    If you post the script you are using to send the email I tell you the modification that you need to make so it will include the IP address.

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

    Comment

    • Doods
      Sergeant

      • Feb 2009
      • 36

      #3
      Re: blocking ip address from sending contact info

      Hi Watdaflip
      Thanks for the reply.I have a feeling that it is coming from the same ip address, it may be a kid or from the opposition. The form I am useing is the BV contact form 2, is this enough info or should I copy and past the whole php script here or email it to you.
      http://www.mobilemassage.org/
      http://www.fnqindependent.com.au/

      Comment

      • Doods
        Sergeant

        • Feb 2009
        • 36

        #4
        Re: blocking ip address from sending contact info

        u there watdaflip ?
        http://www.mobilemassage.org/
        http://www.fnqindependent.com.au/

        Comment

        • zuriatman
          Moderator

          • Sep 2006
          • 3025

          #5
          Re: blocking ip address from sending contact info

          Hi Doods,

          Goto your cPanel and select "Ip Deny" and enter only the domain name
          into the dialogue box.
          www.siapamoyanganda.com/
          Malaysian Family Tree Website From the
          State of Johor.

          HAPPY ARE THOSE WHO DREAM DREAMS AND ARE READY TO PAY THE PRICE TO MAKE THEM COME TRUE.

          Comment

          • Doods
            Sergeant

            • Feb 2009
            • 36

            #6
            Re: blocking ip address from sending contact info

            Hi Zuriatman
            Thats great thanks for that Zuratman. I also need to find out how find the ip address

            Cheer
            Doods
            http://www.mobilemassage.org/
            http://www.fnqindependent.com.au/

            Comment

            • Watdaflip
              Major General

              • Sep 2005
              • 2116

              #7
              Re: blocking ip address from sending contact info

              Hey, sorry I didn't see your reply...

              If you could copy and paste the script you are using and I will make the changes and post it back to you

              Register/Login Script
              Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

              Comment

              • navaldesign
                General & Forum Moderator

                • Oct 2005
                • 12080

                #8
                Re: blocking ip address from sending contact info

                Ther eis no need to make any additions to your script.

                If you are using BV's built in form processor, the form page is anyway in php. So, simply add a hidden field in the form. Name it "IP address" and give it the following value:

                <? echo $_SERVER['REMOTE_ADDR']; ?>

                It will detect the user's IP address and include it in the form submitted data.
                Navaldesign
                Logger Lite: Low Cost, Customizable, multifeatured Login script
                Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
                DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
                Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

                Comment

                • zuriatman
                  Moderator

                  • Sep 2006
                  • 3025

                  #9
                  Re: blocking ip address from sending contact info

                  Originally posted by Doods View Post
                  Hi Zuriatman
                  Thats great thanks for that Zuratman. I also need to find out how find the ip address

                  Cheer
                  Doods
                  Goto cPanel and select Awstats/ftp and scroll down to the external links.

                  Double click on any one an you will be taken to their webpage.

                  The IP Deny Manager already provide you the IP associated with Domain Name.
                  www.siapamoyanganda.com/
                  Malaysian Family Tree Website From the
                  State of Johor.

                  HAPPY ARE THOSE WHO DREAM DREAMS AND ARE READY TO PAY THE PRICE TO MAKE THEM COME TRUE.

                  Comment

                  • Watdaflip
                    Major General

                    • Sep 2005
                    • 2116

                    #10
                    Re: blocking ip address from sending contact info

                    Originally posted by zuriatman View Post
                    Goto cPanel and select Awstats/ftp and scroll down to the external links.

                    Double click on any one an you will be taken to their webpage.

                    The IP Deny Manager already provide you the IP associated with Domain Name.
                    You still have to get the IP address of the user before you can deny it. Its impossible to tell in awstats what IP submitted the form with junk information.

                    I wasn't sure which script they were using so I was going to hard code getting the IP in the script to be sure, but follow Naval's instructions and you should be all set.

                    Register/Login Script
                    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

                    Comment

                    • Doods
                      Sergeant

                      • Feb 2009
                      • 36

                      #11
                      Re: blocking ip address from sending contact info

                      ok thanks peeps for all your help
                      http://www.mobilemassage.org/
                      http://www.fnqindependent.com.au/

                      Comment

                      • fast1
                        Private

                        • Mar 2009
                        • 3

                        #12
                        Re: blocking ip address from sending contact info

                        i guess the only way to make sure you don't get it is to use an entirely different domain name, but i guess its much more disadvantageous to you.

                        Comment

                        • Doods
                          Sergeant

                          • Feb 2009
                          • 36

                          #13
                          Re: blocking ip address from sending contact info

                          Originally posted by fast1 View Post
                          i guess the only way to make sure you don't get it is to use an entirely different domain name, but i guess its much more disadvantageous to you.

                          Sure is .I did as naveldesign suggested and it works just fine
                          http://www.mobilemassage.org/
                          http://www.fnqindependent.com.au/

                          Comment

                          Working...
                          X