我正在使用 zend 框架作品。我想在我的应用程序中包含文件下载部分。我正在使用此代码
> header('Content-Type: application/doc'); header('Pragma: no-cache');
> header('Content-Disposition: attachment; filename="'.$resume.'"');
> readfile(RESUME_PATH_WS . $resume);
但是这段代码不起作用。它返回 0byte 的文件。请帮助我如何在zend框架中下载文件