在header前不能有输出,你的session_start()要去掉
解决方案 »
- php如何post参数到别的页面?
- 搞PHP 与 linux关系大麽 求解
- 远程文件备份,程序员写的,我看不懂,不好意思问。。
- 纠结我好久的一个标点符号,怎么都整不通
- 安装ultraedit 32后html为什么是txt的图标
- php 自写的函数 fuction get_comp_files($compArray) {……} 编译时报错
- 下拉窗口中实时检索
- js里面的对象ajax post到php端直接变成数组了?
- 如何让一个用window.open方法打开的窗口显示在屏幕中央?
- 在线等待,散分求救
- 有关$_POST
- Php 从SQL Server读取日期字段的显示问题,月份老是是中文。其它是数字。
{
header('Content-type: application/x-zip-compressed');
header('Content-Disposition: attachment; filename=1.zip');
header('Content-Description: ZIP Generated Data');
readfile("1.zip");
}
else
{
die("无权下载");
}?>