December 25th, 1999, 04:48 AM
I have written a script, which basicly is a addressbook. I have included a funcion, which sends a CSV-file to the browser.
It's doing this by using "Header("Content Type: application/octet-stream").
The problem is, that the incomning file is named like the script - isn't there any header you can send, so the file's name by default would be list.csv or something...my users aren't computer experts and they get confused!
December 26th, 1999, 09:55 PM
They must be in that order too... php does things backwards.
December 27th, 1999, 12:15 AM
just what I sought for
November 13th, 2000, 11:51 AM
Looked at this example and other, but it didn't help me.
If myfile.php contains this only:
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre>
The Save as dialog appearce fine, but it saves a file that is 0 in size and contains nothing.
What else should the code contain? Help, please.
¬ peterbe.com ¬
November 13th, 2000, 12:04 PM
You have to send the data, too.