span style="color: #0000BB"><?php$file=file_get_contents("count.txt");$fopen=fopen("count.txt","w");$new = $buff + 1;fputs($fopen,"$new");fclose($fopen);?> |
$file = file_get_contents('count.txt'); |
if ($file == 50) { |
echo 'Некое действие'; |
} |
file_put_contents('count.txt', $file + 1); |
$file = file_get_contents('count.txt'); |
if (is_int($file / 50)) { |
echo 'Некое действие'; |
} |
file_put_contents('count.txt', $file + 1); |