Louis Bertrand (louis@bertrandtech.on.ca) wrote:
> What headers can I send to fill in that file name?
Look at content-disposition in the HTTP RFC.
I do this in a similar application:
header("Content-Disposition: attachment; filename=\"$original_name\"");
it helps on the end-user side if you also report the correct
MIME type for the document (i.e. application/msword).
header("Content-type: $mime");