<?php
$system=$_REQUEST["system"];
$status=$_REQUEST["status"];
$words="counter_".$system."_".$status.".dat";
$counter = intval(file_get_contents($words));
$_SESSION['#'] = true;
$counter++;
$fp = fopen($words,"w");
fwrite($fp, $counter);
fclose($fp);
?> |