php实现当前页面点击下载文件的简单方法 php控制器中代码publicfunctiondownFile($path=''){if(!$path)header("Location:/");download($path);}download文件下 php实现点击下载