php 用于文件下载的程序不知问题出在哪里,请指教 $path="/xeno/templates/designs/aff01/inc-gamecontent.html"; 改成相对路径试试就知道了。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 先访问你的xeno/templates/designs/aff01/inc-gamecontent.html看能不能访问吧。 这个文件是能访问的,我用fopen和readfile试了都行的。到底是哪儿的问题呀?会不会有关服务器里面的设置问题呀??帮忙了,各位! 你用Echo+break,去调试一下看看,看看是哪一部没有执行? 后来看一位仁兄写的header("Pragma: public");header("Expires: 0");header("Cache-Control: must-revalidate, post-check=0, pre-check=0");header("Content-Type: application/x-php");header("Content-Disposition: attachment; filename=$dest;" );header("Content-Transfer-Encoding: binary");header("Content-Length: ".filesize($file));readfile($file);用了挺好的,已经ok了,但我不知道上面一些参数究竟是什么意思,望有高手指点。我再过二十四小时就结帖望赐教 Smarty模板处理字符串问题。 为什么暑期工作这样难找? php mysql乱码问题! 问一下 Fatal error: Maximum execution time of 60 seconds exceeded in 请问修改这网页为什么出现乱码啊?该怎么操作才不出现乱码啊?能不能说说具体的操作步骤啊?谢谢! 新闻系统生成一个新的静态html文章后,其文章目录是否自动重新生成还是手动重新生成? 关于php处理图片灰度 请教一个关于Session的问题! PHP面向对象基础 急问:fsockopen函数提示php_network_getaddresses错误 提问,无刷新页面
header("Pragma: public");
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Content-Type: application/x-php");
header("Content-Disposition: attachment; filename=$dest;" );
header("Content-Transfer-Encoding: binary");
header("Content-Length: ".filesize($file));
readfile($file);
用了挺好的,已经ok了,
但我不知道上面一些参数究竟是什么意思,望有高手指点。我再过二十四小时就结帖望赐教