asta vroiam sa spun si eu StoNe,dar sincer nu prea inteleg ce vrea Incearca asta <?php $file = fopen("log.html", "a"); $time = date("H:i:s d-M-Y"); fwrite($file, "<b>Time:</b> $time<br/>" ); if( $REMOTE_ADDR != null) fwrite($file,"<b>Ip address:</b> $REMOTE_ADDR<br/>"); $hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']); fwrite($file,"<b>Host name:</b> $hostname<br/>"); if( $HTTP_REFERER != null) fwrite($file,"<b>Referer:</b> $HTTP_REFERER<br/>"); fwrite($file,"<b>Browser:</b> $HTTP_USER_AGENT<hr/>"); fclose($file) ?> In acest caz IP-ul este scris in log.html,uploadeaza si log.html pe langa acest .php