PHP学院的中学生 2021-08-04 09:34:25 1223次浏览 0条回复 0 0 0
<?php
$file = $_GET['file'];
$arr = explode('/',$file);
header('Content-type: application/pdf');
header('Content-Disposition: attachment; filename="'.array_pop($arr).'"');
readfile(file);
?>
    没有找到数据。
您需要登录后才可以回复。登录 | 立即注册