View file waplend/kopi/l.php
<?php include ("code.php"); if ($d[0] == '.' or $d[0] == '/') exit ("Не верный каталог".$px); if (!is_file ($path.$d)) exit ("Не верный каталог (err:2)".$px); $filename = pathinfo($d); $ext = $filename[extension]; $dir = $filename[dirname]; $filename = $filename[basename]; $old = file_get_contents ($lpath.$filename); $old++; fputs(fopen($lpath.$filename,"w"),$old); header ("Location: ".$path.$d); ob_end_clean(); ?>