Merhaba arkadaşlar. $HTTP_GET_VARS ile ilgili bir sorunum var. Arkadaşıma bir script yazmaya çalışıyorum ve $HTTP_GET_VARS PHP5 versiyonunda çalışmıyor. $HTTP_GET_VARS yerine $_GET kullanmayı denedim çalışmadı.
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&amp;d='.$HTTP_GET_VARS['d'].'" />
<title></title>
</head>
<body>
</body>
</html>';
} else {
    echo'Hacking Attempt...';
}
include('footer.php');
?>