$counter_array = file("counter.dat");$all = $counter_array[0]+1;$fp = @fopen("counter.dat","wb"); @fputs($fp,$all); @fclose($fp); echo ' Total hits: '.$all.' ';
No comments:
Post a Comment