Просмотр файла tennis/komanda/chm/gal/save.php

Размер файла: 283B
<?
include "config.php";
$f = "save/$i.dat";
$fps = @fopen ($f, "r");
if($fps) { $coun = fgets($fps, 10);
fclose($fps); 
} else { $coun = 0;
 }
 $coun++;
 $fps = @fopen($f, "w");
 if($fps) 
{ $w = fputs($fps, $coun); fclose($fps); }
header ("location: $papka/$fail");
?>