|
|
|
|
|
|
![]() |
#1 |
Certified Nice Person
|
($_SERVER['REMOTE_ADDR']);
So here's the thing...I'm in the midst of beefing up my top secret script so that I can 'filter' out more of the cheaters. I just modified it so that I can finally see [and potentially ban] the submitter's IP. I put this in my script to grab the IP: $hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']); Now here's the thing, some of the IPs are simple numeric IP addresses (82.79.32.22), but many are the full alpha-numeric string, such as alb-69-200-18-197.nycap.rr.com. Why is that? Is that normal?
Spanks in advance. |clown|
__________________
Click here to purchase a bridge I'm selling. |
![]() |
![]() |
![]() |
#2 |
a.k.a. Sparky
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
|
don't do the gethostbyaddr
![]()
__________________
SnapReplay.com a different way to share photos - iPhone & Android |
![]() |
![]() |
![]() |
#3 |
Certified Nice Person
|
Damn...it works! I love simple solutions.
Thanks Chris. You da man. ![]()
__________________
Click here to purchase a bridge I'm selling. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | Rate This Thread |
|
|