+ Reply to Thread
Results 1 to 13 of 13

Thread: blocking ip address from sending contact info
      
   

  1. #1
    Doods is offline Sergeant
    Join Date
    Feb 2009
    Posts
    35

    Default 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

  2. #2
    Watdaflip's Avatar
    Watdaflip is offline Major General
    Join Date
    Sep 2005
    Location
    Cincinnati, Ohio
    Posts
    2,119

    Default 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

  3. #3
    Doods is offline Sergeant
    Join Date
    Feb 2009
    Posts
    35

    Default 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.

  4. #4
    Doods is offline Sergeant
    Join Date
    Feb 2009
    Posts
    35

    Default Re: blocking ip address from sending contact info

    u there watdaflip ?

  5. #5
    zuriatman's Avatar
    zuriatman is offline Moderator
    Join Date
    Sep 2006
    Location
    Malaysia
    Posts
    3,036

    Default 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.

  6. #6
    Doods is offline Sergeant
    Join Date
    Feb 2009
    Posts
    35

    Default 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

  7. #7
    Watdaflip's Avatar
    Watdaflip is offline Major General
    Join Date
    Sep 2005
    Location
    Cincinnati, Ohio
    Posts
    2,119

    Default 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

  8. #8
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,052

    Default 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!


  9. #9
    zuriatman's Avatar
    zuriatman is offline Moderator
    Join Date
    Sep 2006
    Location
    Malaysia
    Posts
    3,036

    Default Re: blocking ip address from sending contact info

    Quote 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.

  10. #10
    Watdaflip's Avatar
    Watdaflip is offline Major General
    Join Date
    Sep 2005
    Location
    Cincinnati, Ohio
    Posts
    2,119

    Default Re: blocking ip address from sending contact info

    Quote 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

  11. #11
    Doods is offline Sergeant
    Join Date
    Feb 2009
    Posts
    35

    Default Re: blocking ip address from sending contact info

    ok thanks peeps for all your help

  12. #12
    fast1 is offline Private
    Join Date
    Mar 2009
    Posts
    3

    Default 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.

  13. #13
    Doods is offline Sergeant
    Join Date
    Feb 2009
    Posts
    35

    Default Re: blocking ip address from sending contact info

    Quote 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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49