Hi,
I'm able to give download facility to the users. But the caption of the Download box is showing the program name rather than the file name to be downloaded.
The header I haad used has been given below.
Header("Content-Disposition: attachment; filename=killer.exe");
Header("Content-Type: application/octet-stream");
The headers was followed by the 'readfile' function.
The only problem is that it dosent show the caption properly. When I try to download files from some other sites the file name itself comes as the caption. How can I give file name as the caption.
NB: Caption means the question asked to the user .
If somebody knows about this please help me.
Rgds,
Anil