I don't think it's good idea to store files in DB. Especially big files like music... The common way is to store path_to_files in DB
"Mariusz" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 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 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]