Hl.WebMain/Source/jsplug/jq.AjaxFileUploader/upload.aspx.cs

(完整代码) 1KB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Hl.WebMain.Source.jsplug.jq.AjaxFileUploader
{
    public partial class upload : System.Web.UI.Page
    {
        #region "全局变量"

        public string AllowWebfUpload = "right";

        public string AllowFileUpload = "right";

        public string AllowFileExtens = ".jpg|.gif|.png|.bmp|.jpeg";

        public string ParentInputName = "";

        public string ParentInputTips = "";

        public string ParentShowImgId = "";

        #endregion

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!string.IsNullOrEmpty(Request.QueryString["allowWeb"]))
            {
                AllowWebfUpload = Request.QueryString["allowWeb"];
            }
            if (!string.IsNullOrEmpty(Request.QueryString["allowFile"]))
            {
                AllowFileUpload = Request.QueryString["allowFile"];
            }
            if (!string.IsNullOrEmpty(Request.QueryString["extens"]))
            {
                AllowFileExtens = Request.QueryString["extens"];
            }
            ParentInputName = string.IsNullOrEmpty(Request.QueryString["inputName"]) ? "" : Request.QueryString["inputName"];
            ParentInputTips = string.IsNullOrEmpty(Request.QueryString["inputTips"]) ? "" : Request.QueryString["inputTips"];
            ParentShowImgId = string.IsNullOrEmpty(Request.QueryString["showImgId"]) ? "" : Request.QueryString["showImgId"];
        }

    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。