Zend framework 在Zend框架中上传
我使用uplodify在zend中上传文件Zend framework 在Zend框架中上传,zend-framework,file-upload,uploadify,swfupload,Zend Framework,File Upload,Uploadify,Swfupload,我使用uplodify在zend中上传文件 <link href="/uploadify/uploadify.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="/uploadify/jquery-1.5.2.min.js"></script> <script type="text/javascript" src="/uploadify/jquery.u
<link href="/uploadify/uploadify.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/uploadify/jquery-1.5.2.min.js"></script>
<script type="text/javascript" src="/uploadify/jquery.uploadify.min.js"></script>
<script type="text/javascript" src="/uploadify/swfobject.js"></script>
<script type="text/javascript" src="/uploadify/jquery.uploadify.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$('#file_upload').uploadify({
'uploader': '/uploadify/uploadify.swf',
'script': '/upload/upload',
'cancelImg': '/uploadify/cancel.png',
'folder': '/uploadify/uploads',
'auto': true
});
});
</script>
<input id="file_upload" name="file_upload" type="file" />
请帮助我解决此问题……指定的路径在某个地方出错 在jquery函数中,它被给出为
“上传者”:“/uploadify/uploadify.swf”,
检查“upload/uploadify.swf”请求的去向,得到404错误
另外,如果您使用的是.htaccess文件,请确保对这些文件的请求没有被拒绝。指定的路径在某个地方出错 在jquery函数中,它被给出为
“上传者”:“/uploadify/uploadify.swf”,
检查“upload/uploadify.swf”请求的去向,得到404错误
此外,如果您使用的是.htaccess文件,请确保对这些文件的请求没有被拒绝。“v3中的一些选项名称已更改,以便更直观。“uploader”选项现在应指向php脚本。“swf”选项将指向闪存文件。”
代码的一部分:
$("#gallery").uploadify({
id : jQuery(this).attr('id'),
langFile : 'http://www.static-xxx.nu/uploader/uploadifyLang_en.js',
swf : 'http://www.static-xxx.nu/uploader/uploadify.swf',
uploader : '/uploadify/galleri.php',
“v3中的一些选项名称已更改,以便更直观。“uploader”选项现在应指向php脚本。“swf”选项将指向flash文件。”
代码的一部分:
$("#gallery").uploadify({
id : jQuery(this).attr('id'),
langFile : 'http://www.static-xxx.nu/uploader/uploadifyLang_en.js',
swf : 'http://www.static-xxx.nu/uploader/uploadify.swf',
uploader : '/uploadify/galleri.php',