nesuxro Posted July 11, 2011 Report Share Posted July 11, 2011 (edited) cind se conecteaza cineva pe situ meu ai poate arata ip si locatia???java sau php??ms.. Edited July 11, 2011 by nesuxro Quote Link to comment Share on other sites More sharing options...
robertutzu Posted July 11, 2011 Report Share Posted July 11, 2011 <!--#echo var="REMOTE_ADDR" --> Quote Link to comment Share on other sites More sharing options...
FearDotCom Posted July 11, 2011 Report Share Posted July 11, 2011 cind se conecteaza cineva pe situ meu ai poate arata ip si locatia???java sau php??ms..<!-- Start ip2location.com Link --><IFRAME SRC="http://tools.ip2location.com/ib2/" WIDTH="204" HEIGHT="162" MARGINWIDTH="1" SCROLLING="no" FRAMEBORDER="0"></IFRAME><!-- End ip2location.com Link --> Quote Link to comment Share on other sites More sharing options...
nesuxro Posted July 11, 2011 Author Report Share Posted July 11, 2011 da frumos:)pacat ca locatia o da in alt oras.iti multumesc. Quote Link to comment Share on other sites More sharing options...
alexarpad2003 Posted July 12, 2011 Report Share Posted July 12, 2011 <?php date_default_timezone_set('Europe/Bucharest');$ip = $_SERVER['REMOTE_ADDR'];$today = date("F j, Y, g:i a"); $fopen = fopen('date.txt', 'a');fwrite($fopen, $ip." @ ".$today."\n"); fclose($fopen); ?>Pune codu asta pe pagina ta si creeaza-ti un fisier date.txt . La fiecare accesare a pagini iti va aparea ip-ul acolo data si ora.LE : A tu vrei locatia direct, era facut un cod de cineva si iti dadea si locatia, cauta prin forum. Quote Link to comment Share on other sites More sharing options...
nesuxro Posted July 12, 2011 Author Report Share Posted July 12, 2011 bravo frate tare!! Quote Link to comment Share on other sites More sharing options...