Uploadify从不执行上传脚本
我在上传和上传文件时遇到问题。通过 PHP 进行实际上传的脚本似乎从未被执行,我不明白为什么。检查文件是否存在的脚本会执行,但上传脚本不会执行。
Uploadify 在尝试上传时抛出 IO 错误
这是我的 uploadify 声明:(忽略简单的语法错误,我手动输入此内容)
$(document).ready(function() {
$('#file_upload').uploadify({
'uploader' : 'javascript/uploadify/uploadify.swf',
'script' : 'javascript/uploadify/uploadify.php',
'cancelImg' : 'javascript/uploadify/cancel.png',
'checkScript': 'javascript/uploadify/check.php',
'folder' : '', // Hard coded in php file for security
'auto' : true,
'multi' : false,
'simUploadLimit' : 1,
'sizeLimit' : 10000000,
'fileExt' : '*.txt',
'fileDesc' : '.TXT'
});
});
I'm having problems with uploadify and uploading files. The script that does the actual uploading via PHP never seems to get executed and I can't figure out why. The script that checks if a file exists executes, but the upload script won't.
Uploadify is throwing an IO Error when trying to upload
Here's my uploadify declaration: (ignore simple syntax errors, i manually typed this)
$(document).ready(function() {
$('#file_upload').uploadify({
'uploader' : 'javascript/uploadify/uploadify.swf',
'script' : 'javascript/uploadify/uploadify.php',
'cancelImg' : 'javascript/uploadify/cancel.png',
'checkScript': 'javascript/uploadify/check.php',
'folder' : '', // Hard coded in php file for security
'auto' : true,
'multi' : false,
'simUploadLimit' : 1,
'sizeLimit' : 10000000,
'fileExt' : '*.txt',
'fileDesc' : '.TXT'
});
});
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
代替:
尝试:
Instead of:
Try: