mskocabay wrote:what is the difference between uploading as a file or uploading image as a mysql query.
I like to know what's the best uploading file directly to ftp or uploading image files to mysql ?
I never store files/images to mysql database, it is a waste to using mysql space in such a way if you have no special requirement. And i suppose it will cause the performance of mysql server down becase the size of database will grow very very big with the increasing number of files.
I think the best way is uploading the file by http or ftp,and saving the filename into mysql database.