NYCPHP Meetup

NYPHP.org

[nycphp-talk]Download Error -- need help!

haha heli_travel at yahoo.com
Mon Jun 7 18:14:08 EDT 2004


Hi All:

I try to program the download program.
I got an very interesting issue:
Here is the code:

header("Content-Type: application/vnd.ms-excel;
charset=$dest_charset");
print($report_content); 

But when I download and save ,the save window showed, I click on
"Save",  I got this waired message:

"
Internet Exploer was not able to open this Internet site. The
requested site is either unavailable or cannot be found. Please
try again later.
"
but if I remove the header:
"header("Content-Type: application/vnd.ms-excel;
charset=$dest_charset");"

It print out all the contents.

Please help!

Thanks,

Bill




	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 



More information about the talk mailing list