I give you 30 credits if you find out why the count aren't showed
PHP Code:
<?php
if(file_exists("count.dat"))
{
$fp = fopen("count.dat", "r");
$count = fgets($fp, 1024);
$count++;
fclose($fp);
echo "<strong><font color=red face=arial size=3>$count</font></strong> has played this game ";
$fp = fopen("count.dat", "w");
fwrite($fp, $count);
fclose($fp);
}
else
{
echo "<strong><font color=red face=arial size=3>CREAE count.dat FILE, Change the file permission for count.dat file to 646(RW-,R--,RW-).</font></strong>" ;
}
?>
It just show "has played this game"