I am using PHP and MySQL for my programming.
I have stored some Base64 strings (which are encoded from files
Try adding headers to the script before echoing the output
header('Content-Description: File Transfer'); header("Content-type: application/octet-stream"); header("Content-disposition: attachment; filename= ".$file.""); echo base64_decode($file);