javascript - Valums Ajax file Upload handle the up. file? -


yes using this, valums ajax fileupload: http://valums.com/ajax-upload/

with these settings:

function createuploader(){                 var uploader = new qq.fileuploader({         element: document.getelementbyid('file-uploader-demo1'),         action: 'photo.php?mode=upload',         debug: true     });            } 

not on photo.php?mode=upload, tried handle file being uploaded,

if(isset($_files['qqfile'])){ $filename = $_files['qqfile']['name']; $imagesizeinfo = getimagesize($filename); } 

it doesnt execute this, no $_files isset.. ? have forgotten add in script settings? , tried remove if statement, says getimagesize error needs parameter cannot empty.

valums upload script (latest version) sends file information ajax (xhr stream) when using firefox, chrome or safari). ie6/7/8/9 not support , falls iframe support sets $_files array.

if want use super global $_files array can use older version of valums script , perform same across browsers.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -