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了,但我不知道上面一些参数究竟是什么意思,望有高手指点。我再过二十四小时就结帖望赐教 菜鸟求教,url传递变量问题。 关于php查询数据库的问题 163k的网站程序,得找几个程序员开发? 如何插入自增id 麻烦帮我看这个查询语句(修改) 谁能帮忙写一个正则表达式 高手进smarty问题全部家当了 在Mysql中怎么选定第一百万到一百零三十记录, 用limit很慢 我想用fwrite来生成静态的页面,可怎样处理分页呢?? PHP怎么实现MySql中把一个表的数据插入到另一个表中 急问: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了,
但我不知道上面一些参数究竟是什么意思,望有高手指点。我再过二十四小时就结帖望赐教