类似这种程序:
<?php   
  header("Content-type:application/vnd.ms-excel");   
  header("Content-Disposition:filename=test.xls");   
  echo   "test1\t";   
  echo   "test2\t\n";   
  echo   "test1\t";   
  echo   "test2\t\n";  
?>
这个程序是运行的时候提示保存,下载的,
我现在想要一个自动执行的程序,就是说运行后自动保存test.xls到指定的目录中!
请问如何实现呢?
另外PHP能不能实现在一个EXCEL中生成多个sheet的功能呢 非常感谢!请给个例子