<?
        
    header("Content-type:application/vnd.ms-excel");
       header("Content-Disposition:filename=11.xls");
       echo "test1\t";
echo "test2\t\n";
echo "test1\t";
echo "test2\t\n";
echo "test1\t";
echo "test2\t\n";
echo "test1\t";
echo "test2\t\n";
echo "test1\t";
echo "test2\t\n";
echo "test1\t";
echo "test2\t\n";
?>
 我用上面的代码运行时,为什么每次提示打开的文件不是11.xls文件,而是test1.php,为什么???谁能帮我解决一下,谢谢了
在附件里的提示是我点打开时的提示.
注:test1.php是我保存的php的文件名.



 
											





 yk39PKIx.rar
yk39PKIx.rar 
	    

 
	

 
											

