marz Posted February 2, 2005 Report Share Posted February 2, 2005 Kaa var noteikt ip adresi? es zinu ka ir tas gethostbyaddr bet kaa var noteikt iisto adresi? Link to comment Share on other sites More sharing options...
Roze Posted February 2, 2005 Report Share Posted February 2, 2005 <? echo $_SERVER['REMOTE_ADDR']; ?> Link to comment Share on other sites More sharing options...
marz Posted February 4, 2005 Author Report Share Posted February 4, 2005 shito jau es zinu, bet izmeegginot sho man vienu ip noteica ar visaadiem burties un cipariem(5tgd5 utt.).. Link to comment Share on other sites More sharing options...
hmnc Posted February 4, 2005 Report Share Posted February 4, 2005 X_FORWARDED_FOR Link to comment Share on other sites More sharing options...
Venom Posted February 4, 2005 Report Share Posted February 4, 2005 $opt['usrIP']=(isset($_SERVER['REMOTE_ADDR'])?$_SERVER['REMOTE_ADDR']:''). (isset($_SERVER['HTTP_X_FORWARDED_FOR']) && $_SERVER['HTTP_X_FORWARDED_FOR']!='unknown'?' fwd '.$_SERVER['HTTP_X_FORWARDED_FOR']:''). (isset($_SERVER['HTTP_CLIENT_IP'])?' client_ip '.$_SERVER['HTTP_CLIENT_IP']:''). (isset($_SERVER['HTTP_VIA'])?' via '.$_SERVER['HTTP_VIA']:'')."\n"; Link to comment Share on other sites More sharing options...
Roze Posted February 4, 2005 Report Share Posted February 4, 2005 shito jau es zinu, bet izmeegginot sho man vienu ip noteica ar visaadiem burties un cipariem(5tgd5 utt.).. Ganjauka IPv6 http://www.ipv6.org/ Link to comment Share on other sites More sharing options...
Recommended Posts