Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ASPÈ¡²»Öظ´µÄËæ»úÊý

dim arr(36),xx,tt,tmp
for xx=1 to 36
arr(xx-1)=xx
next

for xx=1 to 5
Randomize
tt=clng((ubound(arr)-xx)*rnd())
response.write(arr(tt) & "<br>")

tmp=arr(tt)
arr(tt)=arr(ubound(arr)-xx)
arr(ubound(arr)-xx)=tmp
next
ÉÏÃæÒ»¶ÎÊÇ´Ó1-36Ö®¼äËæ»úÈ¡5¸ö²»Öظ´ÊýµÄ´úÂ룬±àÂëµÄÔ­ÀíÊÇÏÈ°Ñ1-36Ö®¼äµÄËùÓÐÕûÊý·Åµ½Ò»¸öÊý×éÀïÃ棬µÚÒ»´Î´Ó1-36ÀïËæ»ú1¸öÕûÊý×÷ΪË÷ÒýÈ¡³öÊý×éÖжÔÓ¦µÄ³ÉÔ±£¬È»ºóÓëµÚ36¸ö³ÉÔ±»¥»»£¬µÚ¶þ´ÎÔÙ´Ó1-35ÀïËæ»úÈ¡1¸öÕûÊý×÷ΪË÷ÒýÈ¡³öÊý×éÖжÔÓ¦µÄ³ÉÔ±£¬È»ºóÔÙÓëµÚ35¸ö»¥»»£¬µÚÈý´ÎÔÙ´Ó1-34ÀïËæ»úÈ¡Ò»¸öÕûÊý×÷Ë÷ÒýÈ¡³öÊý×éÖжÔÓ¦µÄ³ÉÔ±£¬È»ºóÔÙÓëµÚ34¸ö³ÉÔ±»¥»»£¬Ñ­»·ÏÂÈ¥Ö±µ½È¡¹»ÊýÁ¿¡£ 


Ïà¹ØÎĵµ£º

Request.ServerVariables ASP»·¾³ ·þÎñÆ÷±äÁ¿

±¾»úip[¿Í»§¶Ë]:
request.servervariables("remote_addr")
´ÓÄĸöÒ³Ãæתµ½µ±Ç°Ò³ÃæµÄ£º
Request.ServerVariables("HTTP_REFERER")
 µÃµ½±¾Ò³µØÖ·£º
<%="http://" + Request.ServerVariables("SERVER_NAME") + ":" + Request.ServerVariables("SERVER_PORT") + reques ......

aspÊý×Ö·ÖҳʾÀý¹²Èý¸ö

<%
set rs=server.CreateObject(”ADODB.recordset”)
sql =”select * from ±í”
rs.open sql,conn,1,1
page=cint(request(”page”))
n=rs.RecordCount
rs.pagesize=12
m=cint(rs.pagecount)
if page=”" then
page=1
elseif page<1 then
page=1
end if
if cint(r ......

Asp ³£Óú¯Êý

1.ÊýÖµÐͺ¯Êý£º abs(num): ·µ»Ø¾ø¶ÔÖµ sgn(num): num>0 1; num=0 0; num<0 -1;ÅжÏÊýÖµÕý¸º hex(num): ·µ»ØÊ®Áù½øÖÆÖµ Ö±½Ó±íʾ£º&Hxx ×î´ó8λ oct(num): ·µ»Ø°Ë½øÖÆÖµ Ö±½Ó±íʾ£º&Oxx ×î´ó8λ sqr(num): ·µ»Øƽ·½¸ù num>0 int(num): È¡Õû int(99.8)=99; int(-99.2)=100 fix(num): È¡Õû fix(99.8)=99; fix ......

ASP ÍøÒ³µÇ¼1Ãëºó×Ô¶¯Ä£Äâµã»÷input°´Å¥

<input type="submit" name=""byt id="byt" value="ÏÖ½ðÏúÊÛÌá½»"   >
ÀýÈ磺±íµ¥ÖÐÓÐÒ»¸öÃûΪ byt µÄ°´Å¥£¬ÒªÇóÍøÒ³´ò¿ª1Ãëºó£¬×Ô¶¯µã»÷°´Å¥£¬
·½·¨£º°ÑÈçÏ´úÂë¼ÓÔÚ</form>ºó¡£
<script language="javascript">
function window.onload()
{
setTimeout("document.form1.byt.click()",1 ......

ÓÃASPʵÏÖ¶þ¼¶ÓòÃû

 






ÓÃASPʵÏÖ¶þ¼¶ÓòÃû
Òª´ïµ½¶þ¼¶ÃûµÄЧ¹û£¬±ØÐëÒ»ÏÂÌõ¼þÒÔ¼°Á÷³Ì£º
1¡¢±ØÐëÓÐÒ»¸ö¶¥¼¶ÓòÃû£¬¶øÇÒ´ËÓòÃû±ØÐë×öºÃ·º½âÎö²¢×öºÃÖ¸Ïò¡£
2¡¢±ØÐëÓÐһ̨¶ÀÁ¢µÄ·þÎñÆ÷¡£·º½âÎöµÄÓòÃûÖ¸Ïò¸Ã·þÎñÆ÷¡£
3¡¢ÔÚ·þÎñÆ÷ÉϵÄIIS½¨Ò»¸ö¿ÕµÄÖ÷»úÍ·ÃûµÄwebÕ¾µã¡£
4¡¢½«Ä¬ÈϵÄÒ³ÃæÉèÖÃΪÄãµÄ¶þ¼¶½âÎö³ÌÐ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ