Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Programming & Scripting (http://www.greenguysboard.com/board/forumdisplay.php?f=15)
-   -   ($_SERVER['REMOTE_ADDR']); (http://www.greenguysboard.com/board/showthread.php?t=15955)

Useless 2005-01-31 12:33 PM

($_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|

cd34 2005-01-31 12:42 PM

don't do the gethostbyaddr :)

Useless 2005-01-31 12:57 PM

Damn...it works! I love simple solutions.

Thanks Chris. You da man. |thumb


All times are GMT -4. The time now is 06:56 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc