Hi again --

...and then David T-G said...
% 
...
% How do I construct the headers so that the browser says "Oh, this is a

It turns out that my header attempt was good and I just had to try again.
I don't *think* I had the same blank-line-of-output as mentioned in the
manual, but it's possible :-)

Now my

  header("Content-Type: application/csv") ;

works dandily.


% CSV file, and here is its name; where shall I save it?" and the user
% doesn't have to jump through any hoops?

I finally found it!  Thanks, google, and some patience :-)  What I wanted
was the disposition, so I now have

  header ("Content-disposition: attachment; filename=$name.csv") ;

and all the user has to do is pick the local directory.  Woo hoo!


% 
% 
% TIA & HAND


Thanks anyway, and here's hoping that this will pop up in the archives
for the next seeker.


HAND

:-D
-- 
David T-G                      * There is too much animal courage in 
(play) [EMAIL PROTECTED] * society and not sufficient moral courage.
(work) [EMAIL PROTECTED]  -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/      Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to