blob download
Posted: Fri Nov 17, 2006 9:45 am
I'm having a problem downloading a pdf from a MySQL blob. What I'd like to do is have the download box pop up asking whether to 'open' or 'save' the file. Right now, the user clicks on a download link which opens a page that grabs the file from the blob:
$filename = mysql_result($result, 0, 'file');
Is there a way in PHP to take that $filename variable and cause a download dialogue box to pop up allowing the user to pick whether that want to open or save it?
Thanks!
$filename = mysql_result($result, 0, 'file');
Is there a way in PHP to take that $filename variable and cause a download dialogue box to pop up allowing the user to pick whether that want to open or save it?
Thanks!