这是我的第一篇文章
我在这里尝试获取上传文件的名称,以便用户可以根据需要删除它,和雅虎一样。
$(#uploadifysub1)。uploadify({
'uploader':'JS / uploadify。 swf',
'script':'JS / uploadify.php',
'deckyImg':'cancels.png',
'buttonImg':'attach.png',
'文件夹':'上传',
'queueID':'divquickuploadProgress1',
'auto':true,
'multi':true
});
问题是我无法获取文件名,有什么建议吗?
有没有uploadify中的函数,可以删除上传的文件,或者我必须自己做?
提前致谢。
解决方案来自uploadify的报价
PHP代码
$ _ FILES [ 'Filedata上'] [ 'tmp_name的值'];
that is my first post
I am trying here, to get the names of the files that are uploaded, so that the user can delete it if desired, the same way as yahoo.
$("#uploadifysub1").uploadify({ 'uploader' : 'JS/uploadify.swf', 'script' : 'JS/uploadify.php', 'cancelImg' : 'cancel.png', 'buttonImg' : 'attach.png', 'folder' : 'uploads', 'queueID' : 'divquickuploadProgress1', 'auto' : true, 'multi' : true });
the problem is that I cannot get files names, any suggestions?
is there any function in uploadify, that can remove an uploaded file, or I have to do that myself??
Thanks in advance.
解决方案Quote from uploadify
PHP code
$_FILES['Filedata']['tmp_name'];
这篇关于从uploadify jquery插件中获取文件名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!