• php运用readfile函数给隐藏下载文件地址增加权限判断

    php运用readfile函数给隐藏下载文件地址增加权限判断

    <?php02$file=get_file_address();//文件的真实地址(支持url,不过不建议用url)0304if(file_exists($file)){05header('Content-Description:FileTransfer');06header('Content-Type:application/octet-stream');07header('Content-Disposition:attachment;filename='.basename($file));08header('Content-Transfer-Encoding:binary');09header('Expires:0');10header('Cache-Control:must-revalidate,post-check...

    02012 年 9 月 29 日834PHP木马