Hi i want to make a scrpt that downloads a file to the users machine, like the custom browser download dialogue box.
The reason why I am not using the standard download box is that I want to force the user to save to their machine and not open the file.
I have read about ftp_fget() is it possible to set up such a script through this method?
thanks in advance
File download
Moderator: General Moderators
To download files I think you just need to change the headers. Look at this thread:
viewtopic.php?t=39981&highlight=download+image
viewtopic.php?t=39981&highlight=download+image
sorry i didnt explain myself to well,
the reason why i do not want the standard browser download box is that aswell as comin with the "Save" button it also has the "open" button, i just want my users to save. As there is no way to customise the dialgoe box to just the "save" button beacuse it is browser based i am looking at other methods to acheive the objectives.
thanks
the reason why i do not want the standard browser download box is that aswell as comin with the "Save" button it also has the "open" button, i just want my users to save. As there is no way to customise the dialgoe box to just the "save" button beacuse it is browser based i am looking at other methods to acheive the objectives.
thanks
Code: Select all
<b>Click 'Save', not 'Open'</b>