请问php如何让浏览器下载一个文本文件?
网友回复
<?php $content = "文本内容";//文件内容 header("Content-type: application/octet-stream"); header("Accept-Ranges: bytes"); header("Content-Di...
点击查看剩余70%
请问php如何让浏览器下载一个文本文件?
网友回复
<?php $content = "文本内容";//文件内容 header("Content-type: application/octet-stream"); header("Accept-Ranges: bytes"); header("Content-Di...
点击查看剩余70%