View file admin/counter_destroy.php
<?php include("../config.php"); echo"<div class=\"a\">"; echo"Админка"; echo"</div>"; echo"<p>"; echo"<div class=\"c\">"; echo"Меню<p>"; if($_SERVER['QUERY_STRING'] == "login=$admin&pass=$pass") { echo "<B>Счётчик почищен!</B>"; $fp = fopen("../counter.txt", 'a'); ftruncate($fp, 0) ?> <? fputs($fp,1); } ?>