Pçdçjoreiz atjaunots " . date("d.m.Y @ H:i", $last_modified).""; ###kaunteris### $fp=fopen("cik.txt","r"); //Read the previous count $count=fgets($fp,1024); //close the file. fclose($fp); //Increment the counter $cnew=$count+1; $cnew.="|"; $cnew.=$_SERVER['REMOTE_ADDR']; $cnew.="|"; $cnew.=time(); if($_SERVER['REMOTE_ADDR'] !== '62.85.106.229'){ $fw=fopen("cik.txt","w"); $countnew=fputs($fw,$cnew); fclose($fw); } ###kaunteris beidzas### ?>