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