Is there a way to manipulate the browser "Save As" or "Save Target As" prompt to be empty so that a user is forced to enter a new name when they download a file?
I am using a blob field in a mysql database to store file data to allow file uploads and downloads via php pages.
My download link goes to a page called getfile.php that retrieves the blob record from the database and then sends the data to the user like this:
Header("Content-type: $content");
echo $data;
where $content is something like "application/vnd.ms-excel"
and $data is the blob field in the database.
The problem is that when the user tries to save the file by either selecting "Save Target As" or by opening the data within the application it tries to save as "getfile.php" which confuses the user.