php - problem in uploading FLV video file to server -


while uploading mp4 video $_files array comes this..

    array     (         [qqfile] => array             (                 [name] => video.mp4                 [type] => video/mpeg4                 [tmp_name] => /tmp/php74n9mr                 [error] => 0                 [size] => 199160             )      ) 

but while uploading .flv file $_files array coming , why not coming proper?

array (     [qqfile] => array         (             [name] => youtube - youtube contest announcement.flv             [type] =>              [tmp_name] =>              [error] => 1             [size] => 0         )  ) 

please suggest.

the file trying upload large. the php manual's chapter on file uploads:

since php 4.2.0, php returns appropriate error code along file array. error code can found in error segment of file array created during file upload php. in other words, error might found in $_files['userfile']['error'].

...

upload_err_ini_size

value: 1; uploaded file exceeds upload_max_filesize directive in php.ini.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -