jQuery("#uploadify").uploadify({
swf: '${pageContext.request.contextPath}/plugin/upload/uploadify.swf',
method:"post",
uploader: "${pageContext.request.contextPath}/UpLoad",
fileTypeExts :"*.doc;*.gif;*.docx",
fileTypeDesc:"上传文件过大",
formData: {'value':'333'},
auto: false,
});
})<form>
<input type="file" id="uploadify" name="uploadify" />
</form>
我后台用$_POST['value']来接收,可是接收不到这是为什么
swf: '${pageContext.request.contextPath}/plugin/upload/uploadify.swf',
method:"post",
uploader: "${pageContext.request.contextPath}/UpLoad",
fileTypeExts :"*.doc;*.gif;*.docx",
fileTypeDesc:"上传文件过大",
formData: {'value':'333'},
auto: false,
});
})<form>
<input type="file" id="uploadify" name="uploadify" />
</form>
我后台用$_POST['value']来接收,可是接收不到这是为什么
弄不好传过来的参数补交value而叫formdata之类的呢。