<?php $dane = "1"; $file = 'racegame_pl.txt'; } else { $dane = "0"; $file = 'racegame_pl.txt'; } ?>
Niestety gdy strona jest wyłączona na prawdę do wywala błąd w kodzie...
<?php $dane = "1"; $file = 'racegame_pl.txt'; } else { $dane = "0"; $file = 'racegame_pl.txt'; } ?>
<?php /*if (preg_match('#head#', $strona, $tablica) == 1) { $p = fopen('racegame_pl.txt', w); fwrite($p, ''); fclose($p); $dane = "1"; $file = 'racegame_pl.txt'; $fp = fopen($file, "a"); flock($fp, 2); fwrite($fp, $dane); flock($fp, 3); fclose($fp); } else { $p = fopen('racegame_pl.txt', w); fwrite($p, ''); fclose($p); $dane = "0"; $file = 'racegame_pl.txt'; $fp = fopen($file, "a"); flock($fp, 2); fwrite($fp, $dane); flock($fp, 3); fclose($fp); }*/ ?>
Parse error: syntax error, unexpected T_VARIABLE in /home/u717664243/public_html/skrypty_cron/racegame_pl/racegame_pl.php on line 1