ok guys/gals I am new to php and web programing but I have some code I grabbed from someone else(why recreate right?) and it works. My question is once I do the following code to start the hit count how can I make it not keep counting if they refresh the page until the next visit? Second what is a good url to visit for some php coding tips and tricks?
<?php
$fp = fopen("count.txt","r");
$count = fread ($fp, filesize ("count.txt"));
fclose($fp);
$count++;
$fp = fopen("count.txt","w");
fwrite($fp, $count);
fclose($fp);
echo "$count";