Saturday, 10 August 2013

Blueimp jQuery File Uploader and save filesize into database

Blueimp jQuery File Uploader and save filesize into database

i use Blueimp jQuery File Uploader and i want to update user's disk space
used by getting filesize of each file including filesize of thumbnail (if
file is image) in database. i noticed that each file, sends separate
request to server so there will be mysql_query for each file.
first of all: where to put the mysql_query
2nd: is it ok to run a update query foreach file?

No comments:

Post a Comment