if (file_exists('count.txt')) { $dat = file_get_contents("count.txt"); if($dat < 56) { file_put_contents("count.txt",$dat+1); print('