资源简介

flash 图片压缩后上传 实例源码

资源截图

代码片段和文件信息

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class saveImage : System.Web.UI.Page
{
protected void Page_Load(object sender EventArgs e)
{
System.Drawing.Image img = System.Drawing.Image.FromStream(Request.InputStream);
img.Save(Server.MapPath(“./“) + “/1.jpg“);
string fileName = Request.Headers[“fileName“];
fileName = Server.UrlDecode(fileName);

Response.Write(“./1.jpg“);
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        727  2009-06-04 10:51  imgZipUpload\expressInstall.swf

     文件       1022  2010-12-26 15:32  imgZipUpload\imgZipUpload.htm

     文件       6078  2010-12-24 11:09  imgZipUpload\imgZipUpload.mxml

     文件     188001  2010-12-24 11:10  imgZipUpload\imgZipUpload.swf

     文件        103  2010-07-26 17:58  imgZipUpload\saveImage.aspx

     文件        653  2010-12-26 15:31  imgZipUpload\saveImage.aspx.cs

     文件      10220  2009-06-11 15:14  imgZipUpload\swfobject.js

     文件       2059  2010-12-24 10:50  imgZipUpload\说明.txt

     目录          0  2010-12-24 09:54  imgZipUpload

----------- ---------  ---------- -----  ----

               208863                    9


评论

共有 条评论