搜索列表
-
可以在线创建文件夹吗?
【编程10000问】folder.htm<html><head><title>闪亮日子之在线创建文件夹</title></head><body>春风精彩<br>在线创建文件夹</td> <tr> <td height="28"><form name="form1" method="post" action="creatfolder.asp"&...
|可以|以在|在线|线创|创建|建文|文件|件夹|夹吗|吗?|?| -
怎样使用Cookie跟踪来访者?
【编程10000问】<%Dim NumVisit' 声明变量.NumVisit = Request.Cookies("chunfeng")("totalvisit")' 检查用户来访问过多少次.If NumVisit = "" ThenNumVisit = 0End If' 如果是第一次来访,NumVisit 应为空,所以我们将NumVisit设为0.'*** Display how many times they have'*** visited your web page.Respo...
|怎样|样使|使用|用C|Co|oo|ok|ki|ie|e跟|跟踪|踪来|来访|访者|者?|?| -
如何在Flash中处理Cookies?
【编程10000问】testCookies.asp' 检查浏览器是否接受Cookies.<%strTest = Request.QueryString("CookieTest")If UCase(strTest) <> Ucase("true") ThenSession("__FlashCookieTest") = True' 第一次呼叫.设置session变量.' 用QueryString重定向. strURL = Request.ServerVariables("script_NA...
|如何|何在|在F|Fl|la|as|sh|h中|中处|处理|理C|Co|oo|ok|ki|ie|es|s?|?| -
如何在ASP中恰当地运用Cookies?
【编程10000问】remberme.asp' 用户提交个人信息.<%response.Cookies("information")("姓名")=request.form("name")response.Cookies("information")("顾客号")=request.form("id")response.Cookies("information")("来自")=request.form("from")……' 定义一个名为information的Cookies字典,你可以定义更多,如果你需要....
|如何|何在|在A|AS|SP|P中|中恰|恰当|当地|地运|运用|用C|Co|oo|ok|ki|ie|es|s?|?| -
如何刪除客户端的Cookies?
【编程10000问】<%@ Language=VBScript %><%Option Explicitresponse.buffer=trueDim objCookieResponse.Write "春风精彩之不可告人删除CookieS<BR>"For Each objCookie In Request.CookiesResponse.Cookies(objCookie).Expires = "1,1,2001"' 设置时间删除.NextResponse.Write "恭喜,删...
|如何|何刪|刪除|除客|客户|户端|端的|的C|Co|oo|ok|ki|ie|es|s?|?| -
如何提示用户打开Cookie?
【编程10000问】Dim strCookie, strTrystrCookie = Request.Cookies("MyCookie") strTry = Request.QueryString("Try") If strCookie = "" Then ' 检测否是设置了Cookie. If strTry = "" Then &n...
|如何|何提|提示|示用|用户|户打|打开|开C|Co|oo|ok|ki|ie|e?|?| -
如何获知所有的Cookie?
【编程10000问】1.撼雪喷云之显示Cookie<TABLE BORDER="2"> <Thead> <TH>Cookie名</TH> <TH>Cookie值</TH> ...
|如何|何获|获知|知所|所有|有的|的C|Co|oo|ok|ki|ie|e?|?| -
怎样给文件加密最安全?
【编程10000问】<%@ Language = VBScript%><%Response.Expires = 0p = "abcdefg"Set TestPWD = New CPassWordTestPWD.EnPWD pTestPWD.UnPWD TestPWD.ShowPWD(True)k = TestPWD.ShowPWD(True)l = TestPWD.ShowPWD(False)Set TestPWD = NothingWith Resp...
|怎样|样给|给文|文件|件加|加密|密最|最安|安全|全?|?| -
如何准确地获得一个整数?
【编程10000问】如何准确地获得一个整数?function NumbersOnlyNoDecimals(pInString) lNumbersOnly = "" for x = 1 to len(pInString) y = (len(pInString)-x+1) if isNumeric(mid(pInString, y,1)) then lNumbersOnly = lN...
|如何|何准|准确|确地|地获|获得|得一|一个|个整|整数|数?|?| -
如何检测字符串出现的次数?
【编程10000问】如何检测字符串出现的次数?Function CheckTheChar(TheChar,TheString)' TheChar="要检测的字符串".' TheString="待检测的字符串".if inStr(TheString,TheChar) thenfor n =1 to Len(TheString)if Mid(TheString,n,Len(TheChar))=TheChar then CheckTheChar=CheckTheChar+1End ifNextChec...
|如何|何检|检测|测字|字符|符串|串出|出现|现的|的次|次数|数?|?| -
如何测试字符串的长度?
【编程10000问】如何测试字符串的长度?Function CheckStringLength(txt) txt=trim(txt) x = len(txt) y = 0 for ii = 1 to x if asc(mid(txt,ii,1)) < 0 or asc(mid(txt,ii,1)) >255 then &...
|如何|何测|测试|试字|字符|符串|串的|的长|长度|度?|?| -
如何制作关联的下拉菜单?
【编程10000问】<form name=f1 METHOD="POST"><%OpenDB objConn, "xxxx"Set RSClass = objConn.Execute("select * from class Order by fldClass")If RSClass.EOF Then Response.Write "噢,没有记录!<BR>"ElseResponse.Write "<select NAME=""class"" style=""FONT-S...
|如何|何制|制作|作关|关联|联的|的下|下拉|拉菜|菜单|单?|?|