It looks like you're new here. If you want to get involved, click one of these buttons!
<a href="javascript:$('#uploader').uploadifyUpload()" ). Note that clearQueue button works.
/* uploadify setup */
$('#uploader').uploadify({
'uploader' : '/uploadify/uploadify.swf',
'script' : '/uploadify/uploadify.php',
'cancelImg' : '/uploadify/cancel.png',
'folder' : '/pictures',
'auto' : false,
'buttonImg' : '/uploadify/uploadImg.png',
'width' : '70',
'height' : '49',
'expressInstall' : '/uploadify/expressInstall.swf',
'wmode' : 'transparent',
'displayData' : 'percentage',
'fileDataName' : 'uploaded',
'fileExt' : '*.jpg;*.gif;*.png',
'fileDesc' : 'Pictures (jpg, png, gif)',
'multi' : true,
'rollover' : true,
'scriptData': {'sID':'37b23b8c802b226492a6e812da604678'},
'onComplete' : function(event, ID, fileObj, response, data) {
alert(response);
},
'onAllComplete' : function (event, data) { alert(data);
$.ajax({
type: "POST",
url: "/getPictures.php",
dataType: "html",
data: "sID=37b23b8c802b226492a6e812da604678",
success: function(data){
$("#upDatList").html(data);
}
});
}
});
echo str_replace($_SERVER['DOCUMENT_ROOT'],'',$targetFile);