Kodlarım bu:
<?php
include('header.php');
$rurl = 'C:\\Program Files\\EasyPHP 2.0b1\\www\\dosya\\Downloads\\';
$durl = $rurl.$HTTP_GET_VARS['d'].'/'.$HTTP_GET_VARS['name'];
if ($HTTP_GET_VARS['name']) {
header('location: '.$durl.'');
echo'
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="refresh" content="0; url=index.php?action=downloads&d='.$HTTP_GET_VARS['d'].'" />
<title></title>
</head>
<body>
</body>
</html>';
} else {
echo'Hacking Attempt...';
}
include('footer.php');
?>
Yani link.php?d=(boş)&name=dosya.zip|rar|php|txt