Hi,

I found some info on how to upload files into a directory on the server and I was able 
to do that but can anyone tell me how to upload a file to my database (MySQL)? I know 
to use BLOB for the field type (which BLOB depending on the size) but how do I 
construct the INSERT or is there a different special sql command just for that?
I will also need the visitor to be able to download that file and display in the 
browser (in case of the pic) and download the other type of files (like music) 
straight to his hard drive. Basically how can I let a visitor download the file from 
my database?

I'll also greatly appreciate any pointers to some articles on the net.

thank you,
Mariusz

Reply via email to