swfupload

ASP.Net session state not available on another webpage

泄露秘密 提交于 2019-12-31 03:51:10
问题 I'm designing a single page web application with all the action happening on default.aspx. I store the user's user id in Session after he logs on. I use SWFUpload in default.aspx to upload files to upload.aspx. When upload.aspx receives a file, it checks HttpContext.Current.Session for the user's id. This used to work, but since recently HttpContext.Current.Session doesn't have any values regarding my session. I must have changed something along the line but I have no idea what. Stranger

swfupload not working under IE anymore

柔情痞子 提交于 2019-12-30 06:19:14
问题 http://demo.swfupload.org/v250beta2/simpledemo/index.php doesn't seem to work in IE any more. Is there a fix for this? I get a red cross instead and the 'button' is not clickable. I'm running IE 8. 回答1: I could reproduce the problem with IE9 running on Windows 7, but only on virtual machines. Anyway, I was able to apply a quick'n'dirty to fix the problem by patching swfupload.js (v2.2.0), somewhere around line 230, thanks to this post. SWFUpload.prototype.getFlashHTML = function () { // Flash

Cairngorm SequenceTask + URLLoader throws SecurityError because of missing user interaction

寵の児 提交于 2019-12-24 01:00:01
问题 I am trying to get an application to upload multiple client side generated images (not files, hence I can't use FileReference), while displaying the progress of the upload. This has proved to be way harder than it should be. I am using Cairngorm Task library to perform the following steps on an image generated on the client: Generate a BitmapData object drawing the contents of an area of the stage Encode the image as a JPEG asynchronously, as to show a progress bar (see http://dgrigg.com/blog

need an example of using SWFUpload with java

微笑、不失礼 提交于 2019-12-23 06:10:14
问题 i am new to SWFUpload , and i am reading the documentation now, and i need an example using SWFUpload with java please, thank you. 回答1: Example implementation for SWFUpload, jQuery, JSP, Java and Spring First the jsp: <%@ page language="java" pageEncoding="UTF-8" %> <head> <script type="text/javascript" src="<c:url value="/public/js/swfupload/swfupload.js"/>"></script> <script type="text/javascript" src="<c:url value="/public/js/jquery-plugins/ jquery.swfupload.js"/>"></script> <script type=

SWFUpload on HTTPS not working

穿精又带淫゛_ 提交于 2019-12-22 05:47:06
问题 I have trouble uploading files with SWFUpload when target servlet is listening on HTTPS. On HTTP it works fine. The issue is only when using FireFox or Opera. On IE it works fine - not tried other browsers. EDIT: Error message as provided from SWFUpload when in debug mode: SWF DEBUG: Event: uploadProgress (OPEN): File ID: SWFUpload_0_0 SWF DEBUG: Event: uploadError : IO Error : File ID: SWFUpload_0_0. IO Error: Error #2038 SWF DEBUG: Event: uploadComplete : Upload cycle complete. 回答1:

How do I set the uploaded files folder for SWFUpload?

我的梦境 提交于 2019-12-21 19:58:56
问题 I don't see in the documentation how to set the uploaded files folder with SWFUpload. Can anyone point me to the right direction? I'm using PHP 5 if it helps. 回答1: What you do is call a PHP script, and that script handles the file uploading. You can turn on debug, this will give you a pretty nice debug view of what is happening, and the output of the PHP file in question. The flash doesn't handle the uploading because the flash is actually running on the client machine. Here's an example of

swfupload 302 error

白昼怎懂夜的黑 提交于 2019-12-21 05:36:10
问题 so I have this javascript code for loading swfuploader onto a page ( http://code.google.com/p/swfupload/) swfuPubThumbnailUploader = new SWFUpload({ upload_url : "/upload_thumbnail", flash_url : "/Flash/swfupload.swf", file_size_limit : 512 + " MB", file_post_name: 'files[swf]', file_types : '*.jpg;*.jpeg;*.gif;*.png', file_types_description: "Image Files", file_queue_limit : 1, button_placeholder_id: 'swf-trans-file-selector', button_text: '', button_image_url: '', button_width: "85", button

Is SWFUpload still alive?

筅森魡賤 提交于 2019-12-20 17:29:44
问题 I'm considering using SWFUpload on my site, but I saw that the last release was in March 2010, and it was a beta. It looks like the SWFUpload people stopped there development. Is this project still alive? Is there an alternative? 回答1: In my opinion, SWFUpload looks pretty dead... No Issue updates since June 2010 at Google Code... http://code.google.com/p/swfupload/issues/list There IS lots of recent activity at the official SWFUpload discussion forum. Have you asked there yet? http://groups

swfupload destroy session? php

不想你离开。 提交于 2019-12-20 03:19:23
问题 hy, i need a little help here: i use SWFupload to upload images! in the upload function i make a folder call $_SESSION['folder'] and all the files i upload are in 1 array call $_SESSION['files'] after uploads finish i print_r($_SESSION) but the array is empty? why that? this is my upload.php: if($_FILES['image']['name']) { list($name,$error) = upload('image','jpeg,jpg,png'); if($error) {$result = $error;} if($name) { // Upload Successful $result = watermark($name); print '<img src="uploads/'.

SWFUpload多文件上传使用指南

大憨熊 提交于 2019-12-19 02:21:46
SWFUpload 是一个flash和js相结合而成的文件上传插件,其功能非常强大。以前在项目中用过几次,但它的配置参数太多了,用过后就忘记怎么用了,到以后要用时又得到官网上看它的文档,真是太烦了。所以索性就把它的用法记录下来,也方便英语拙计的同学查看,利人利己,一劳永逸。(ps:SWFUpload早就不再更新了,官网也打不开了,推荐大家使用 Plupload 来代替SWFUpload,Plupload以html5上传方式为主,在不支持html5的浏览器中会自动回退到flash的上传方式,功能灰常强大!使用方法可以看我写的 《前端上传组件Plupload使用指南》 ) SWFUpload的特点: 1、用flash进行上传,页面无刷新,且可自定义Flash按钮的样式; 2、可以在浏览器端就对要上传的文件进行限制; 3、允许一次上传多个文件,但会有一个上传队列,队列里文件的上传是逐个进行的,服务器端接收文件时跟普通的表单上传文件是一样的; 4、提供了丰富的事件接口供开发者使用; SWFUpload的文件上传流程是这样的: 1、引入相应的js文件 2、实例化SWFUpload对象,传入一个配置参数对象进行各方面的配置。 3、点击SWFUpload提供的Flash按钮,弹出文件选取窗口选择要上传的文件; 4、文件选取完成后符合规定的文件会被添加到上传的队列里; 5