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

aspÉÏ´«Îļþ´úÂë

add.html
<html>
<head>
<title>ÎÞ×é¼þÉÏ´«</title>
</head>
<body>
<form method="POST" name="myform" action="xSave.asp" target="_self">
<input name="PicPath" type="text" id="PicPath" readonly="true">
<input name="sPicPath" type="hidden" id="sPicPath">
<iframe id="Upload" src="upload.html" frameborder=0 scrolling=no width="100%" height="20"></iframe>
<img src="" id="objimg" style="display:none;" />
</form>
</body>
</html>
upload.html
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<SCRIPT language=javascript>
function check_file()
{
var strFileName=form.FileName.value;
if (strFileName=="")
{
    alert("ÇëÑ¡ÔñÒªÉÏ´«µÄÎļþ");
    return false;
}
}
</SCRIPT>
</head>
<body leftmargin="0" topmargin="0">
<form action="upfile.asp" method="post" name="form1" enctype="multipart/form-data">
<input name="FileName" type="FILE" class="tx1" size="20" onChange="window.parent.document.getElementById('objimg').src=this.value;window.parent.document.getElementById('objimg').style.display='';">
<input type="submit" name="Submit" value="ÉÏ´«">
</form>
</body>
</html>
upfile.asp
<!--#include file="upload.asp"-->
<%
Const MaxFileSize=2048       'ÉÏ´«Îļþ´óСÏÞÖƵ¥Î»k
Const UpFileType="gif|jpg|bmp|png"        'ÔÊÐíµÄÉÏ´«ÎļþÀàÐÍ
set fs=createobject("scripting.filesystemobject")
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>
<%
call upload_0() 'ʹÓû¯¾³ÎÞ×é¼þÉÏ´«Àà
%>
</body>
</html>
<%
sub upload_0()    'ʹÓû¯¾³ÎÞ×é¼þÉÏ´«Àà
    set upload=new upload_file    '½¨Á¢ÉÏ´«¶ÔÏó
  &n


Ïà¹ØÎĵµ£º

aspÔÚÏß½âѹËõ

³ý·ÇÄúÒÔϵͳÕÊ»§µÄÉí·ÝµÇ½µ½·þÎñÆ÷£¨ÔÚä¯ÀÀÆ÷»·¾³ÖÐÒ²ÊÇ¿ÉÒÔʵÏÖ£©£¬»òÕßÖ÷»ú¶Ë½øÐÐÁËÁ¼ºÃµÄȨÏÞÅäÖ㬷ñÔò±¾ÎÄÉæ¼°µÄ¹¦ÄÜÊǺÜÄÑʵÏֵġ£ÒòΪÎÒÃÇͨ¹ýiis·ÃÎÊij¸öÒ³Ãæʱ£¬Ò»°ãÊÇiisÄäÃûÕÊ»§µÄÉí·Ý£¬ÔÚ´ó¶àÊýÇé¿öÏ£¬aspµÄWScript.ShellÊDZ»½ûÓõģ¬ÒòΪËüÓкܴóµÄ°²È«Òþ»¼¡£
 ¡¡¡¡ÒªÏëʵÏÖÕâÖÖ¹¦ÄÜ£¬Ê×ÏÈÒªµÃµ½Rar³ ......

asp ʵÏÖµÄðÅÝÅÅÐò³ÌÐò

 arr = array(12,52,14,43,24,58,15,64,24,57,17,56,45)
arrLen = ubound(arr)
for i=0 to arrLen-1
for j = 0 to (arrlen -1)-i
if arr(j)>arr(j+1) then
temp = arr(j)
arr(j)= arr(j+1)
arr(j+1) = temp
end if
next
next

for each l in arr
response.Write l&"< ......

ASPÊÇʲôÓïÑÔ£¬ÓÐʲôÓÅÊÆ

 Ñ§ASPµ½ÏÖÔÚÒÑÓÐÐí¶àÄ꣬ºÃ¶àÈ˶¼ËµËûÕâ¸ö²»ºÃÄǸö²»ºÃ£¬¿ÉÎÒ¾õµÃͦºÃ£¬ÎÒȴ˵²»³öʲôºÃµÄÀíÓÉÈÿͻ§Ñ¡ÔñÓÃASP¿ª·¢£¬ÖÕÓÚ¿´µ½ÁËÕâ¸öÎÄÕ£¬ÐÄÖдóϲ£¬×ª¸ø´ó¼Ò·ÖÏí~~
ASPÊÇÒ»ÖÖÀàËÆHTML(Hypertext Markup Language³¬Îı¾±êʶÓïÑÔ)¡¢ScriptÓëCGI(Common GAteway Interface ͨÓÃÍø¹Ø½Ó¿Ú)µÄ½áºÏÌ壬µ«ÊÇÆäÔËÐÐЧÂÊÈ´±È ......

ASP×Ô¶¯Ê¶±ðIP,²¢Ìøתµ½À´·ÃÎÊÕßËùÔڵijÇÊÐ

×Ô¶¯Ê¶±ðIP,²¢Ìøתµ½À´·ÃÎÊÕßËùÔڵijÇÊÐ
ÏÈÈ¥ÏÂÒ»¸ö×îеĴ¿ÕæIPÊý¾Ý¿â,È»ºó°´ÈçϲÙ×÷:
1.ÔËÐд¿ÕæQQIPÊý¾Ý¿âÀï´øµÄShowIP.exe£¬µã½âѹ£¬ÊäÈëÎļþÃû£¬±ÈÈçIP.txt£¬È·¶¨£¬¾ÍµÃµ½Ò»¸öTXTÎļþ¡£
2.´ò¿ªACCESS£¬¹¤¾ß£­×Ô¶¨Ò壬ÃüÁîÑ¡Ï£¬°Ñµ¼ÈëÑ¡ÏîÍ϶¯µ½ÉÏÃæµÄ¹¤¾ßÀ¸¡£
3.½¨¿â£¬½¨Ò»¸ö±í£¬Ëĸö×Ö¶Î
Startip ÀàÐÍ:ÎÄ ......

aspÖÐcookieµÄÓ÷¨


ÓÐ2ÖÖʹÓÃcookieµÄ»ù±¾·½Ê½£º
1¡¢½«cookieдÈë·ÃÎÊÕߵļÆËã»ú£¨Ê¹Óà RESPONSE ÃüÁ
2¡¢´Ó·ÃÎÊÕߵļÆËã»úÖÐÈ¡»Øcookie£¨Ê¹Óà REQUEST ÃüÁ
´´½¨cookieµÄ»ù±¾Óï·¨
Response.Cookies("CookieName")=value   //½«ÖµvalueдÈëcookie
Ö´ÐÐÏÂÃæµÄ´úÂ뽫»áÔÚ·ÃÎÊÕߵļÆËã»úÖд´½¨Ò»¸öcookie£¬Ãû×Ö£½VisitorNam ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ