View Full Version : PHP IP Adress grabber
biohazerd87
16-12-2004, 00:38
does anyone know a good IP address grabber... for some reason i can't get any to work! please help
Pierre-Marie Baty
16-12-2004, 01:17
tcpdump
:P
biohazerd87
16-12-2004, 01:25
not helpful lol... but really i can't seem to get any to work
what is a IP address grabber exactly? :O (i may even be able to help if I don't know what it is you need to do!)
biohazerd87
16-12-2004, 02:40
it gets the person's ip... and then displays it... i know how to display it but i can't get my IP getter to work
this is for PHP? have you tried : http://uk2.php.net/manual/en/function.gethostbyaddr.php
(that's
$_SERVER["REMOTE_ADDR"]
I think that gets the IP??
stefanhendriks
16-12-2004, 11:28
funny,
you can show it, print it, or whatever, but you cannot store it away? If you can show it, you can probably put it into a variable? :S
biohazerd87
16-12-2004, 22:49
this is for PHP? have you tried : http://uk2.php.net/manual/en/function.gethostbyaddr.php
(that's
$_SERVER["REMOTE_ADDR"]
I think that gets the IP??
it is supposed to work.. i tried that before and it just gets me the server ip
$_SERVER["REMOTE_ADDR"]
is correct.
http://bs-linux.com/devel/ip.php
<?
echo $_SERVER["REMOTE_ADDR"];
?>
vBulletin® v3.7.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.