vypadá to takto:
Kód: Vybrať všetko
<?php
Header("Location: online.php");
$int = file_get_contents("tstatus/plip.txt");
$file = fopen("xyz.txt", "w");
fwrite($file, --$int);
fclose($file);
?>Kód: Vybrať všetko
<?php
Header("Location: online.php");
$int = file_get_contents("tstatus/plip.txt");
$file = fopen("xyz.txt", "w");
fwrite($file, --$int);
fclose($file);
?>
Kód: Vybrať všetko
<?php
Header("Location: online.php");
$int = file_get_contents("tstatus/plip.txt");
$file = fopen("xyz.txt", "w");
if($int>0){fwrite($file, --$int);}
else{fwrite($file, $int);}
fclose($file);
?>
Kód: Vybrať všetko
<a href="nieco.php" name="btn" id="btn" style="display:none">j</a>
Kód: Vybrať všetko
<?php
$int = file_get_contents("nieco.txt");
$file = fopen("nieco.txt", "w");
if($int>0){fwrite($file, --$int);}
else{fwrite($file, $int);}
fclose($file);
Header("Location: http://localhost/i/index.php");
include("nieco2.php");
?>Kód: Vybrať všetko
if($int>0){fwrite($file, ($int-2));}Kód: Vybrať všetko
<?php
$subor = file('y.txt');
$vybraneSlovo = $subor[mt_rand(0,count($subor)-1)];
$int = file_get_contents(trim($vybraneSlovo)."/j.txt");
$file = fopen(trim($vybraneSlovo)."/j.txt", "w");
if($int>0){fwrite($file, ($int-2));}
else{fwrite($file, $int);}
fclose($file);
include(trim($vybraneSlovo)."/h2.php");
Header("Location: ".trim($vybraneSlovo)."/h.php");
?>
Kód: Vybrať všetko
<a href="http://localhost/hopnitosurf/i/hsurf.php" name="btn" id="btn" style="display:none">odoslat</a>Kód: Vybrať všetko
<a href="adresa_k_nieco2.php" name="btn" id="btn" style="display:none">odoslat</a>