File size: 572B
<?
$extension = ".rar";
$counterdir = $get;
$textfont = "Verdana,Tahoma";
if (file_exists("$get/$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 = 'http://localhost/php/site/wap/pgs/dwld.php?action=baddwld'");
?>
// -->
</script>
<?php
}
?>