database - Uploading Large Video Files to server, solution? -


i have spent hours reading how upload large files server. these video files in hundreds of megabytes, , in .mp4 format.

my first attempt using php processing post, not working files above 2 megabytes due restrictions in php.ini , httpd.conf.

some users increasing these limits levels needed, , hoping upload work.

some websites seem using flash uploaders, ones have tried have been difficult, , never explicitly mentioned if solved upload size problem.

i have looked @ ftp using php client, examples found transferring file ftp server after had been posted. ftp using separate client out of question, file name , related data stored in database.

currently, operating on localhost, , site served box have physical access to, still wary of increasing max_upload_size , related requirements because want move hosted service.

what best solution? there way upload large files strictly through php , html? if not, best solution upload large files while still being able pass filename database?

thanks answer

the standard form-based file upload doesn’t work since files uploaded in single http post requests.

  1. web servers cannot accept large http requests.
  2. the upload process long. if there connection problem, user has start over.

if looking solution built website, should consider using upload component can shrink files chunks client-side, send each chunk in separate request , put files on server. these components work browser extensions. though obsessed html5 these days , nobody likes java applets , activex components, java/activex suits best task.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -