d22552000 Posted October 10, 2007 Share Posted October 10, 2007 sooooooooooooooooo how do I do it? I know I do a column with a BLOB of size of the max file size I guess... then I tell php to do: fopen($FILE,'rb'); fread($file,1024); (loop) then I send the info to the db??? How would I download the file later then, would I have to write it to a fiel first? or could I ouptu it to the browser if I supply , content-type: binary? Quote Link to comment https://forums.phpfreaks.com/topic/72605-storing-binary-file-uploads-into-a-mysql-database/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.