ÂÛÎÄÎÞÓÇÍøÌṩ£º¼ÆËã»ú±ÏÒµÂÛÎÄ·¶ÎÄ|¼ÆËã»ú±ÏÒµÉè¼Æ|¼ÆËã»ú±ÏÒµÂÛÎÄ
À¸Ä¿µ¼º½ ASP Java Web .NET VB6.0 JAVA VC VF DELPHI PB ¼ÆËã»úÍøÂç ¼ÆËã»ú¿ÆѧÓë¼¼Êõ PHP °²×¿APP ÆäËû C# ´úдÂÛÎÄ
µ±Ç°Î»ÖÃ: > ¼ÆËã»ú > ASP >

(B)ͬѧ¼ASP

2.3Êý¾Ý¿âÉè¼Æ

    ±¾ÍøÕ¾²ÉÓõÄÊý¾Ý¿âÊÇMicrosoftAccess £¬½¨Á¢¿âÎļþ£¬°üº¬Èçϼ¸¸ö±íÎļþ£º

copyright paper51.com

claim        ÍøÕ¾¹«¸æÐÅÏ¢±í copyright paper51.com

loginfo      À´·ÃµÇ½ʱ¼äÐÅÏ¢±í

paper51.com

mssg        ÁôÑÔÐÅÏ¢±í£» ÄÚÈÝÀ´×ÔÂÛÎÄÎÞÓÇÍø www.paper51.com

photo        Í¼Æ¬ÄÚÈÝ˵Ã÷ÐÅÏ¢±í copyright paper51.com

user        ³ÉÔ±µØÖ·ÐÅÏ¢±í[7] copyright paper51.com

3 ÏêϸÉè¼Æ

copyright paper51.com

3.1ͳһ¹æ»®ÍøÕ¾µÄ²¼¾ÖºÍ¸ñʽ ÄÚÈÝÀ´×Ôwww.paper51.com

Ê×ÏÈÒª¹æ»®ºÃÍøÕ¾µÄ½á¹¹£¬¶ÔÍøÕ¾µÄÍøÒ³´óÌå²¼¾ÖÓÐÒ»¸ö¾ßÌåµÄÂÖÀª¡£²¢ÇÒΪÍøÕ¾µÄÖ÷Ò³¼°¶þ¼¶Ò³ÃæÈ·¶¨Ò»¸ö¹²Í¬µÄ¸ñʽ£¬°üÀ¨Õû¸öÒ³ÃæµÄÑÕÉ«£¬¿í¶È£¬ÒõÓ°£¬±³¾°£¬×ÖÌåµÄ´óСÑÕÉ«Õâ¾ÍÐèÒªÎÒÃÇÖÆ×÷Ò»¸ö³¬Îı¾Ñùʽ±í.cssÎļþ£¬ÒÔ¹©Ã¿¸öÍøÒ³µ÷Óᣱ¾Õ¾¾ßÌåµÄ.css´úÂëÈçÏ£º ÄÚÈÝÀ´×ÔÂÛÎÄÎÞÓÇÍø www.paper51.com

body { copyright paper51.com

   SCROLLBAR-FACE-COLOR: #ffffff; paper51.com

   SCROLLBAR-HIGHLIGHT-COLOR: #000000;

ÄÚÈÝÀ´×Ôwww.paper51.com

   SCROLLBAR-SHADOW-COLOR: #000000;

ÄÚÈÝÀ´×Ôwww.paper51.com

   SCROLLBAR-3DLIGHT-COLOR: #ffffff; http://www.paper51.com

   SCROLLBAR-ARROW-COLOR: #666666;

ÄÚÈÝÀ´×ÔÂÛÎÄÎÞÓÇÍø www.paper51.com

   SCROLLBAR-TRACK-COLOR: #ffffff;

ÄÚÈÝÀ´×ÔÂÛÎÄÎÞÓÇÍø www.paper51.com

   SCROLLBAR-DARKSHADOW-COLOR:#ffffff; paper51.com

 background-image:url(../images/bg.gif);background-position:center paper51.com

}

http://www.paper51.com

BODY { ÄÚÈÝÀ´×ÔÂÛÎÄÎÞÓÇÍø www.paper51.com

   FONT-SIZE: 12px; FONT-FAMILY:"Verdana", "arial" ÄÚÈÝÀ´×Ôwww.paper51.com

} paper51.com

TABLE {

ÄÚÈÝÀ´×ÔÂÛÎÄÎÞÓÇÍø www.paper51.com

   FONT-SIZE: 12px; FONT-FAMILY:"Verdana", "arial"

ÄÚÈÝÀ´×ÔÂÛÎÄÎÞÓÇÍø www.paper51.com

}

ÄÚÈÝÀ´×ÔÂÛÎÄÎÞÓÇÍø www.paper51.com

TR { paper51.com

   FONT-SIZE: 12px; FONT-FAMILY:"Verdana", "arial"

paper51.com

} http://www.paper51.com

TD { copyright paper51.com

   FONT-SIZE: 12px; WORD-BREAK:break-all; FONT-FAMILY: "Verdana", "arial"

ÄÚÈÝÀ´×Ôwww.paper51.com

} ÄÚÈÝÀ´×ÔÂÛÎÄÎÞÓÇÍø www.paper51.com

INPUT {

http://www.paper51.com

BACKGROUND-COLOR:#ffffff; BORDER-BOTTOM: #0066cc 1px solid; BORDER-LEFT: #0066cc 1px solid;BORDER-RIGHT: #0066cc 1px solid; BORDER-TOP: #0066cc 1px solid; COLOR: #0066cc;FONT-SIZE: 9pt; HEIGHT:16px paper51.com

} paper51.com

TEXTAREA {

ÄÚÈÝÀ´×ÔÂÛÎÄÎÞÓÇÍø www.paper51.com

BORDER-TOP-WIDTH: 1px; PADDING-RIGHT:1px; PADDING-LEFT: 1px; BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 12px;BORDER-LEFT-COLOR: #cccccc; BACKGROUND: #fefefe; BORDER-BOTTOM-WIDTH: 1px;BORDER-BOTTOM-COLOR: #cccccc; PADDING-BOTTOM: 1px; BORDER-TOP-COLOR: #cccccc;PADDING-TOP: 1px; BORDER-RIGHT-WIDTH: 1px; BORDER-RIGHT-COLOR: #cccccc http://www.paper51.com

}

ÄÚÈÝÀ´×Ôwww.paper51.com

ÔÚÿ¸öÍøÒ³µÄ³ÌÐòÖмÓÈËÈçϵijÌÐò¶Î:

paper51.com

<linkhref="css/class.css" type=text/css rel=stylesheet>¡£À´ÊµÏÖµ÷ÓÃÒѾ­±àÖƺõij¬Îı¾Ñùʽ±íÎļþclass.css£¬ÕâÑù¾ÍΪÍøÕ¾ÖеÄÿ¸öÍøÒ³É趨һ¸ö¹²Í¬µÄÑùʽ£¬ÈçÕû¸öÍøÒ³ÎÄ×ֵĴóС¡¢×ÖÌ壬»¹Óл³¬Áª½ÓºÍÒÑ·ÃÎʳ¬Áª½ÓµÄÑÕÉ«ÒÔ¼°²Ëµ¥µÄһЩÊôÐԵȵȡ£

ÄÚÈÝÀ´×ÔÂÛÎÄÎÞÓÇÍø www.paper51.com

ΪÍøÕ¾Éè¼ÆÒ»¸öÖ÷Ò³ÃæʹÓÃDreameWeaver MXÀ´ÖÆ×÷¡£»¹ÒªÓõ½HTMLÓïÑÔ¡¢VBScript¡¢JavaScriptµÈ¡£½«Ç°Ãæ˵µ½µÄ¹¦ÄܺÍÄÚÈÝÒԲ˵¥µÄÐÎʽÁгöÔÚÖ÷Ò³ÉÏ£¬¼¶Áª²Ëµ¥ÉÏÊÇһЩ¾ßÌåµÄ¹¦ÄܺÍÄÚÈÝ¡£µ±È»£¬Õâ¸ö²Ëµ¥ÊÇÓÃJavaScript±àÖƳöÀ´µÄÒ»¸öº¯Êý£¬È»ºó£¬ÔÚÿһ¸ö²Ëµ¥ÎļþµÄ´úÂëÖÐÔÙµ÷ÓÃÕâ¸öº¯Êý£¬ÆäËüµÄ²Ëµ¥Ò²¿ÉÒÔÓÃͬÑùµÄ´úÂëÀ´ÊµÏÖ¡£Í¬Ñù£¬¶ÔÓÚ¶þ¼¶Ò³ÃæµÄÉè¼ÆÒÔ¼°ÆäËüÒ³ÃæµÄÉè¼ÆÒ²ÊÇÓëÖ÷Ò³Ïàͬ¡£Èç¹ûÕâЩҳÃæµÄÖ÷Òª²¿·ÖÓëÏÈÇ°Éè¼ÆµÄÖ÷Ò³Ö÷Ì岿·Ö·ç¸ñºÍ²¼¾ÖÒÔ¼°²Ëµ¥¶¼Ïàͬ£¬ÄÇôÎÒÃǾͿÉÒÔÏȽ¨Á¢Ò»¸ö¿ÕµÄº¬²Ëµ¥µÄÎļþ×÷Ϊģ°å£¬ÒÔºóÿ½¨Á¢Ò»¸öÀàËƵÄÒ³Ã棬¾Í¿ÉÒÔµ÷ÓôËÄ£°åÎļþ£¬ÔÚ´Ë»ù´¡ÉÏÔÙ½øÐÐÐ޸ġ¢²¹³ä[8]¡£ paper51.com

3.2×¢²áºÍµÇ¼ģ¿éÉè¼Æ

http://www.paper51.com

×¢²áµÇ¼ģ¿éÊÇϵͳµÄÃÅ»§,ÔÚÕû¸öϵͳÖÐÕ¼ÓÐÖØÒªµÄµØλ¡£ËüµÄÖ÷Òª¹¦ÄÜÊǸù¾ÝÓû§µÄ¼ÈëÐÅÏ¢½øÐÐÉí·Ýʶ±ð,Åųý·Ç·¨Óû§¶Ô±¾ÏµÍ³µÄʹÓÃ,¶ÔºÏ·¨Óû§Ôò°´ÕÕ²»Í¬µÄ¼¶±ð·ÖÀà´¦Àí£¬´Ó¶ø±£Ö¤ÏµÍ³µÄÔËÐа²È«£¬¹ý³ÌÈçͼ3Ëùʾ[9]¡£

copyright paper51.com

copyright paper51.com

ͼ3 ¹ý³Ìͼ copyright paper51.com

Óû§½øÈëÖ÷Ò³Ãæºó,ÒªÏ뷨ʹÓÃÆäËû²Ëµ¥µÄ¹¦ÄܱØÐëÏȽøÐÐ×¢²á,ÔÚ½«±íµ¥Ìá½»ºó,µ÷ÓÃÏàÓ¦µÄ³ÌÐò½øÐд¦Àí¡£´¦Àí³ÌÐòÊ×ÏÈÓëÊý¾Ý¿âÁ¬½Ó,²é¿´ÊÇ·ñ´æÔÚͬÃûºÍͬÃÜÂëµÄÓû§,Èô´æÔÚÔòÏÔʾÌáʾÐÅÏ¢,²¢ÖØзµ»Ø×¢²á±íµ¥,Óû§ÊäÈëеÄÐÅÏ¢½øÐÐÖØÐÂ×¢²á;Èô²»´æÔÚͬÃûÇÒͬÃÜÂëµÄÓû§,Ôò½«×¢²áÐÅϢдÈëÊý¾Ý¿â¡£ÔÚ×¢²á½çÃæÌîдע²áÐÅÏ¢µÄʱºò£¬ÓÃÏÂÃæµÄ³ÌÐòÅжÏÊäÈëµÄÐÅÏ¢ÊÇ·ñÕýÈ·£º paper51.com

functioncheckform()

http://www.paper51.com

   {if  (adduser.username.value.length==0) {

ÄÚÈÝÀ´×Ôwww.paper51.com

   alert("Óû§Ãû²»µÃΪ¿Õ£¡");

ÄÚÈÝÀ´×Ôwww.paper51.com

   document.adduser.username.focus(); copyright paper51.com

   return false;

http://www.paper51.com

   }

ÄÚÈÝÀ´×Ôwww.paper51.com

   if(document.adduser.passwd.value.length == 0) { copyright paper51.com

       alert("ÇëÊäÈëÄúµÄÃÜÂ룡"); copyright paper51.com

       document.adduser.passwd.focus();

paper51.com

       returnfalse; copyright paper51.com

   } ÄÚÈÝÀ´×ÔÂÛÎÄÎÞÓÇÍø www.paper51.com

       if(document.adduser.repasswd.value.length == 0) {

http://www.paper51.com

       alert("ÇëÈ·ÈÏÄúµÄÃÜÂ룡");

copyright paper51.com

       document.adduser.repasswd.focus();

http://www.paper51.com

       returnfalse;

http://www.paper51.com

   }

http://www.paper51.com

   if (document.adduser.passwd.value!= document.adduser.repasswd.value) { copyright paper51.com

       alert("ÄúÁ½´ÎÊäÈëµÄÃÜÂë²»Ò»Ö£¡ÇëÖØÐÂÊäÈë¡£"); ÄÚÈÝÀ´×Ôwww.paper51.com

       document.adduser.passwd.focus(); copyright paper51.com

       returnfalse; http://www.paper51.com

   }   http://www.paper51.com

   if(document.adduser.email.value.length == 0 &&!document.adduser.email.value.match( /^.+@.+$/ ) ) {

copyright paper51.com

       alert("Email´íÎó£¡ÇëÖØÐÂÊäÈë");

copyright paper51.com

       document.adduser.email.focus(); paper51.com

       returnfalse; ÄÚÈÝÀ´×ÔÂÛÎÄÎÞÓÇÍø www.paper51.com

   } copyright paper51.com

   if(document.adduser.realname.value.length==0){ paper51.com

       alert("ÇëÊäÈëÄúµÄÕæʵÐÕÃû£¡")

copyright paper51.com

       document.adduser.realname.focus();

ÄÚÈÝÀ´×ÔÂÛÎÄÎÞÓÇÍø www.paper51.com

       returnfalse}

paper51.com

   return true http://www.paper51.com

   }

ÄÚÈÝÀ´×ÔÂÛÎÄÎÞÓÇÍø www.paper51.com

ÈçÈôÓû§ÒѾ­×¢²á,Ôò¿ÉÊäÈëÃû³ÆºÍÃÜÂë½øÈë,Ôڴ˹ý³ÌÖÐÑéÖ¤Ãû³ÆºÍÃÜÂëÊÇ·ñÏà·ûÒÔ¼°ÔڵǼ¹ý³ÌÖÐÓû§µÄÇëÇóÊÇ·ñ±»ÔÊÐí´Ó¶øÏÔʾ²»Í¬µÄÌáʾҳÃæ¡£Óû§µÇ¼µÄÁ÷³ÌͼÈçͼ4Ëùʾ[10]¡£

http://www.paper51.com

copyright paper51.com

ͨ¹ýÔÚ±íµ¥ÊäÈë“Óû§Ãû”ºÍ“ÃÜÂ딺óµã»÷“µÇ¼”Ìá½»±íµ¥,¼¤»îºǫ́µÇ¼³ÌÐò¡£Èç¹û“Óû§Ãû”ºÍ“ÃÜÂë”Æ¥Åä¾Í¿ÉÒÔ½øÈë,·´Ö®ÏÔʾ´íÎóÌáÐÑÒ³Ãæ¡£ÈôµÇ¼³É¹¦,µÇ¼³ÌÐò»á°ÑµÇ¼Óû§µÄÐÅϢд½øCookies,¹©ÒÔºó¸÷ÏÄÜʵÏÖʱʹÓᣠÄÚÈÝÀ´×ÔÂÛÎÄÎÞÓÇÍø www.paper51.com

Óû§µÄµÇ¼³ÌÐòÈçÏ£º

copyright paper51.com

<formname="form1" method="post"action="login.ASP?method=submit" onSubmit="returncheckform()">

ÄÚÈÝÀ´×ÔÂÛÎÄÎÞÓÇÍø www.paper51.com

                   <table width="182" height="113"border="0" align="center" cellspacing="3">

copyright paper51.com

                     <tr> ÄÚÈÝÀ´×Ôwww.paper51.com

                       <td width="70">&nbsp;</td> http://www.paper51.com

                       <td>&nbsp;</td>

paper51.com

                     </tr> paper51.com

                     <tr> copyright paper51.com

                       <td> <div align="right">Óà »§£º</div></td> copyright paper51.com

                       <td> <div align="left">

paper51.com

                           <input name="text1" type="text"id="text13" size="11" height="20"> paper51.com

                         </div></td> ÄÚÈÝÀ´×ÔÂÛÎÄÎÞÓÇÍø www.paper51.com

                     </tr>

copyright paper51.com

                     <tr> ÄÚÈÝÀ´×ÔÂÛÎÄÎÞÓÇÍø www.paper51.com

                       <td><div align="right">ÃÜ Â룺</div></td> ÄÚÈÝÀ´×Ôwww.paper51.com

                       <td> <div align="left"> ÄÚÈÝÀ´×Ôwww.paper51.com

                           <input name="text2" type="password"id="text2" size="11" height="20">

ÄÚÈÝÀ´×ÔÂÛÎÄÎÞÓÇÍø www.paper51.com

                          </div></td> paper51.com

                     </tr> ÄÚÈÝÀ´×Ôwww.paper51.com

                     <tr valign="top">

ÄÚÈÝÀ´×ÔÂÛÎÄÎÞÓÇÍø www.paper51.com

                       <td height="33" colspan="2">

http://www.paper51.com

                         <div align="center">

http://www.paper51.com

                           <input type="submit" name="Submit" value="µÇ¼"> ÄÚÈÝÀ´×ÔÂÛÎÄÎÞÓÇÍø www.paper51.com

                           &nbsp;&nbsp; ÄÚÈÝÀ´×Ôwww.paper51.com

                           <input type="button" name="Submit2" value="×¢²á"onClick="javascript:window.open('register.ASP')">

copyright paper51.com

                         </div></td> copyright paper51.com

                     </tr>

copyright paper51.com

                   </table>

copyright paper51.com

                 </form>

ÄÚÈÝÀ´×ÔÂÛÎÄÎÞÓÇÍø www.paper51.com

Èç¹û³É¹¦µÇ¼ºó½«³öÏÖÈçͼ5µÄ½çÃ棺

ÄÚÈÝÀ´×ÔÂÛÎÄÎÞÓÇÍø www.paper51.com

                            Í¼5 ÄÚÈÝÀ´×Ôwww.paper51.com

Õâ¸ö½çÃæµÄ³ÌÐò´úÂëΪ£º

copyright paper51.com

<td>»¶Ó­<fontcolor="#FF0000"><%=rs4("loguser")%></font>»Ø¼Ò£¡</td>

ÄÚÈÝÀ´×Ôwww.paper51.com

             </tr> http://www.paper51.com

             <tr> http://www.paper51.com

               <td>µÇ½´ÎÊý£º<font color="#FF0000"><%=rs4("logno")%></font>´Î</td> copyright paper51.com

             </tr>

paper51.com

             <tr> ÄÚÈÝÀ´×Ôwww.paper51.com

               <td>ÄãµÄÉí·Ý£º<fontcolor="#FF0000"><%=usergroup%></font></td>

paper51.com

             </tr>

ÄÚÈÝÀ´×Ôwww.paper51.com

             <tr> copyright paper51.com

               <td>Éϴεǽʱ¼ä£º<br> <font color="#FF0000"><%=rs4("logtime")%></font></td> ÄÚÈÝÀ´×ÔÂÛÎÄÎÞÓÇÍø www.paper51.com

             </tr> ÄÚÈÝÀ´×ÔÂÛÎÄÎÞÓÇÍø www.paper51.com

             <%

paper51.com

strsql6="SELECTcount(primsguser) as prino FROM primsg where primsgtype=1 andprimsguser='"&session("username")&"'"

http://www.paper51.com

setrs6=conn.execute(strsql6) paper51.com

%> ÄÚÈÝÀ´×Ôwww.paper51.com

             <tr>

http://www.paper51.com

               <td>

ÄÚÈÝÀ´×Ôwww.paper51.com

                 <% ÄÚÈÝÀ´×Ôwww.paper51.com

if rs6("prino")=0then ÄÚÈÝÀ´×Ôwww.paper51.com

    response.Write("ÄãûÓÐеĶÌÏûÏ¢")

copyright paper51.com

   

paper51.com

else%> paper51.com

             <bgsound src=images/notify.wav border=0 loop="1">    ÄãÏÖÔÚÓÐ<ahref="#"onClick="script:window.open('primsg.ASP','','width=480,height=240,left=300,top=200')"><fontcolor="#FF0000"><%=rs6("prino")%></font></a>ÌõеĶÌÏûÏ¢</td> paper51.com

    µ½´Ë£¬ÍøÕ¾µÄÓû§×¢²áµÇ¼½çÃæ¾ÍÖÆ×÷ÍêÁË[11]¡£

ÄÚÈÝÀ´×Ôwww.paper51.com

------·Ö¸ôÏß----------------------------
ÁªÏµ·½Ê½