It looks like you're new here. If you want to get involved, click one of these buttons!
switch($_FILES['Filedata']['error']) {
case 1: die('The file is bigger than this PHP installation allows'); break;
case 2: die('The file is bigger than this form allows'); break;
case 3: die('Only part of the file was uploaded'); break;
case 4: die('No file was uploaded'); break;
case 6: die('Missing a temporary folder'); break;
case 7: die('Failed to write file to disk'); break;
case 8: die('File upload stopped by extension'); break;
default: die('unknown error '.$_FILES['Filedata']['error']);
}HTTP error is the type. Look at the 'info' part of the errorObj. That will give you the error code
$('#uploadify').uploadify({
...
...
...
'onError' : function(event, ID, fileObj, errorObj) {
alert(errorObj.type+"::"+errorObj.info);
}
});
function something(event, ID, fileObj, errorObj) {
alert(errorObj.type+"::"+errorObj.info);
}
...
...
'onError' : something