Ok, i have a quick question, i Recently got an email from a forum member, i was harrased, now, since he emailed me, how can i get his IP adress, so i can ban him from going to my site.
thanks for the awsome php script Raydred.
Ok, i have a quick question, i Recently got an email from a forum member, i was harrased, now, since he emailed me, how can i get his IP adress, so i can ban him from going to my site.
thanks for the awsome php script Raydred.
Hi,
The way I got the IP address of the guy that was annoying me was to get him to fill in a php form that got his IP. I had a PHP message board and everytime someone signs it I get their IP. I setup an email form to send the msg board data to my inbox everytime someone posted a msg.
The bit of PHP in the email form was:
$REMOTE_ADDR
If you can get the person to use a form with that code u can get their IP. Thing is if there on dial up the IP changes everytime they redial.
I blocked my guy using htaccess - he was on DSL and his IP remained the same all the time, so he couldnt get back on my site… never heard from him again after that… hehe
Hope that helps you out,
Cheers
the problem is that i donot have a php mail forum. im using a html one. Its on my site, www.alexsdesigns.net. under the contact page. He emailed me through that form.
thanks for helping:)
create an access log that logs the ip+time… see when the email was sent and ban the IP’s in the time range :beam:
If your servers supported php i could’ve given you the script i made for myself
i could always use tripod to upload it to
but i would need step by step instructions, because im stupid when it comes to PHP.lol
thanks ahmed
probably too late but…
here’s all that you need to ban ip’s via an htaccess file. Simply
put this in and place the htaccess file at the root of your domain
on the server:
<Limit GET POST>
order allow,deny
allow from all
deny from 111.11.11.11
deny from 212.138.47.11
deny from 212.138.47.29
deny from 212.138.47.12
deny from 212.138.47.17
deny from 212.138.47.27
</Limit>
simply list the ip’s you wish to ban with “deny from” (no quotes).
Hope this helps…
p.s. your server needs to support htaccess, of course
If its an email you can set up your email client so that is shows you full headers…was the email from an email form on your site or from that persons email client?
i have a form on my web site. i tried to contact doteasy, and im going to ask them if there was a way that i could get the IP
hey alex, did you get my email:q:
I hate abusers! BUT I LKOVE YOUR SITE! JUST WANTED YOUT O KNOW! IT’s great!
IshiXP- thanks
ahmed - i think that i will let this go, but if he comes back with another negative statement. i will take action from there, Thanks for your help though
:: Copyright KIRUPA 2024 //--