On Wed, Feb 26, 2003 at 10:51:27PM -0700, Bryce C wrote: /_Ok, not exactly on-topic but it does relate. /_I'm trying to write a php script that passes a binary file through it /_for download. This is to protect the file's true location (not web /_accessible) and to allow my logger to log the transaction. /_Unfortunately, the filename doesn't get copied. That is, the file to /_download shout be x.tar.gz but I get download.php. Can someone help? /_Note: I can't configure any of the services. /_Note2: I know it's possible because I've seen other sites do it. This Perl/CGI snippet may or may not be of any help; but I used it for something similar a while back. # print header(-attachment=>'invoice.html',-type=>'application/octet-stream'); v/r -Mike