CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Problem in Export to Excel

Print topic Send  topic

Author Message
Cherry
Posted: 02/27/2005, 4:38 PM

Hi,
I tried to use the sample code for excel export:

Header("Content-type: application/vnd.ms-excel");
Header("Content-Disposition: attachment; filename=example.xls");
Header("Pragma: ");
Header("Expires: 0");

My problem is, when I clicked on the export to excel button, and chose Open (instead of save) and excel application isn't opened yet, the file couldn't be found. But if you open first the excel application, then click on the export to excel button, the file is successfully opened.

Please help!!! Thanks! =)

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.