Просмотр файла wwphpmaster2.00_released/www.phpedited.com/wap/file/downloadweb.php

Размер файла: 610B
<?
require_once"../tmpl/cnf.php";

$get=$_GET['get'];

$extension = ".rar";
$counterdir = $get;
$textfont = "Verdana,Tahoma";

if (file_exists("$counterdir/$get$extension"))
	{
header("location: $get/$get$extension");
$file = fopen("$counterdir/$get.dt","r");
$count = fread($file, 100);
$countplus = ($count + 1);
fclose($file);
$fileb = fopen("$counterdir/$get.dt","w");
fwrite($fileb, $countplus, 100);
fclose($fileb);
	}
else
	{
?>
<script language="JavaScript">
<!-- 
<?php
echo ("window.location.href = '$url/pgs/dwld.php?action=baddwld'");
?>
// -->
</script>
<?php
	}
?>