Hello, PHP gurus,

       As a PHP newbie, I am trying to create a PHP page that generates and force dowload a file depending on user's input. Attached is the code.

       I give 's' to 'submit' and double checked that the value is correctly retried and the control flow is right.

       It works well if I use direct download of firefox or open the download file with an editor. It also works well with IE. But if I tried to download the file thru flashGot extension of firefox, which is connected to net-transport (an multi-thread download accelerator),  the name field has 'tmp' instead of the real file name. And the downloaded tmp has only the stderr saying that  '/var/tmp' can not be removed as it is a directory. But this flashGot works if I replace the variables with its real value.

       I tried to output the value of $filenm and it is correct. It must be sth that has to do with how this sort of download accelerator deals with HTML headers. Has anyone seen this problem before? can I have some hint?
       Thanks a lot
-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to