nesuxro Posted July 11, 2011 Report 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
FearDotCom Posted July 11, 2011 Report 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
nesuxro Posted July 11, 2011 Author Report Posted July 11, 2011 da frumos:)pacat ca locatia o da in alt oras.iti multumesc. Quote
alexarpad2003 Posted July 12, 2011 Report 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