.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Developer's Farm > General Programming
General Programming Help others and get yourself helped here!

Reply
 
Thread Tools
PHP IP Adress grabber
Old
  (#1)
biohazerd87
Moderator by day Waypointer by night
 
biohazerd87's Avatar
 
Status: Offline
Posts: 1,039
Join Date: Apr 2004
Location: Missouri
Default PHP IP Adress grabber - 16-12-2004

does anyone know a good IP address grabber... for some reason i can't get any to work! please help
  
Reply With Quote
Re: PHP IP Adress grabber
Old
  (#2)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: PHP IP Adress grabber - 16-12-2004

tcpdump



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: PHP IP Adress grabber
Old
  (#3)
biohazerd87
Moderator by day Waypointer by night
 
biohazerd87's Avatar
 
Status: Offline
Posts: 1,039
Join Date: Apr 2004
Location: Missouri
Default Re: PHP IP Adress grabber - 16-12-2004

not helpful lol... but really i can't seem to get any to work
  
Reply With Quote
Re: PHP IP Adress grabber
Old
  (#4)
Cheeseh
[rcbot]
 
Cheeseh's Avatar
 
Status: Offline
Posts: 361
Join Date: Dec 2003
Location: China
Default Re: PHP IP Adress grabber - 16-12-2004

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!)
  
Reply With Quote
Re: PHP IP Adress grabber
Old
  (#5)
biohazerd87
Moderator by day Waypointer by night
 
biohazerd87's Avatar
 
Status: Offline
Posts: 1,039
Join Date: Apr 2004
Location: Missouri
Default Re: PHP IP Adress grabber - 16-12-2004

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
  
Reply With Quote
Re: PHP IP Adress grabber
Old
  (#6)
Cheeseh
[rcbot]
 
Cheeseh's Avatar
 
Status: Offline
Posts: 361
Join Date: Dec 2003
Location: China
Default Re: PHP IP Adress grabber - 16-12-2004

this is for PHP? have you tried : http://uk2.php.net/manual/en/function.gethostbyaddr.php

(that's

PHP Code:
$_SERVER["REMOTE_ADDR"
I think that gets the IP??

Last edited by Cheeseh; 16-12-2004 at 03:01..
  
Reply With Quote
Re: PHP IP Adress grabber
Old
  (#7)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: PHP IP Adress grabber - 16-12-2004

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


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: PHP IP Adress grabber
Old
  (#8)
biohazerd87
Moderator by day Waypointer by night
 
biohazerd87's Avatar
 
Status: Offline
Posts: 1,039
Join Date: Apr 2004
Location: Missouri
Default Re: PHP IP Adress grabber - 16-12-2004

Quote:
Originally Posted by Cheeseh
this is for PHP? have you tried : http://uk2.php.net/manual/en/function.gethostbyaddr.php

(that's

PHP Code:
$_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
  
Reply With Quote
Re: PHP IP Adress grabber
Old
  (#9)
BAStumm
Member
 
BAStumm's Avatar
 
Status: Offline
Posts: 138
Join Date: Jan 2004
Location: Spokane, WA USA
Default Re: PHP IP Adress grabber - 21-01-2005

$_SERVER["REMOTE_ADDR"]

is correct.

http://bs-linux.com/devel/ip.php

PHP Code:
 
 <?
 
 echo $_SERVER["REMOTE_ADDR"];
 
 ?>







Last edited by BAStumm; 21-01-2005 at 23:59..
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com