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

asp²Ù×÷Êý¾Ý¿â´úÂë

 set conn=server.createobject("adodb.connection")
 conn.open "driver={microsoft access driver (*.mdb)};dbq=F:\\ajaxpro\\App_Data\\server.mdb"
 
 Dim StrSQL,RS
 StrSQL="SELECT*from Manager WHERE ID='"&username&"'"
 StrSQL=StrSQL&"AND Pin='"&password&"'"
 set rs=server.createobject("adodb.recordset")
 rs.open StrSQL,conn,1,1
 If rs.EOF then
  response.write("<script>alert('Óû§Ãû»òÃÜÂë´íÎó');history.back();</script>")
  response.End()
 else
  response.Write( "<script>location.href='IP_Address.asp'</script>") 
  response.End()   
 End If 


Ïà¹ØÎĵµ£º

htmlÎļþ°üº¬ÎļþµÄ¼¸ÖÖ·½·¨(asp)

ÔÚaspÒ³ÃæÖУ¬ÎÒÃdz£³£Ê¹ÓÃincludeÃüÁîÀ´°üº¬¹«¹²Îļþ£¬±ÈÈç˵ҳÊס¢Ò³Î²µÄ²¿·Ö£¬Ê¹Óù«¹²Îļþ·Ç³£·½±ã£¬µ«ÔÚHTMLÒ³ÃæÀïʹÓÃinclude¸ù±¾¾Í²»Æð×÷Óá£ÕâÊÇÒòΪ£¬includeÊÇVBScriptµÄÃüÁÒò´Ë¿ÉÒÔÔÚaspÒ³ÃæÀïʹÓ᣶øHTML¾²Ì¬Ò³Ãæ±»µ÷ÓõÄʱºò²¢²»¾­¹ýasp½âÊÍÆ÷£¬¶øÊÇÖ±½Ó·¢Ë͵½Óû§ä¯ÀÀÆ÷£¬Òò´ËincludeÃüÁî¾ÍÎÞЧÁË¡£
¶ÔÓ ......

ÓÃasp×öweb service¿Í»§¶Ëµ÷ÓÃwebservice

web serviceÔÚÏÖÔڵĸ÷ϵͳÖеõ½Á˹㷺µÄÓ¦Óá£ËüΪÎÒÃǸ÷ϵͳ֮¼äµÄ¹¦ÄÜ·ÃÎÊ£¬Êý¾Ý½»»»,Æðµ½Á˲»¿ÉÄ¥ÃðµÄ×÷Ó᣶øÇÒ»¹Äܼò»¯ÎÒÃǵıä³É£¬Ôڴ˾ͶÔasp×÷Ϊwebservice¿Í»§¶ËÉÔ×÷̽ÌÖ¡£
  ±¾ÎÄͨ¹ý½«Ò»Ð©¾ßÌåµÄÒµÎñ¹¦ÄÜд³ÉXML Web Services²¢ÇÒ½«ÕâЩXML Web ServicesÓëASP³ÌÐòÍêÃÀ½áºÏ£¬ÏÖÓеÄASP³ÌÐò¾Í¿ÉÒÔÏóASP.NE ......

[ASPÖÐʹÓÃÈý²ã¼Ü¹¹] 6.ConvertÀà

    µÚ¶þ¸öÖØÒªµÄÀà,×÷ÓÃÊÇÀàÐÍת»»,ÀàÃûCon_Convert.ÔÚÒ³Ãæ´úÂëµÄ¿ªÍ·ÊµÀý»¯,¶ÔÏóÃûΪConvert,½èÓÃÁË.netµÄÀàÐÍת»»µÄ¶ÔÏóÃû³Æ.
   
   
    Õâ¸öÀàÖ÷Òª½â¾öÔÚÀàÐÍת»»Ê±,Èç¹ûÖ±½ÓʹÓÃÀàÐÍת»»º¯Êý,»áÒòΪ±äÁ¿Îª¿Õ»òÕ߸ñʽ²»¶Ô¶øµ¼Ö³ÌÐò±¨´í,¶øÕâÖÖ±¨´ ......

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

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

¹ØÓÚASPÑ­»·±í¸ñµÄÎÊÌâÖ®½â´ð


ºÜ¶àʱºò,ÎÒÃDzÉÓÃԭʼµÄ·½·¨À´½â¾öÒ»ÐÐÄÚÑ­»·3ÕÅͼƬ,Èç¹ûÉÏ´«ÕßÖ»ÉÏ´«ÁË2ÕÅͼƬ,ÄÇô2ÕÅͼƬ¼äµÄ¾àÀë»áºÜ´ó,ÒòΪȱÉÙÁËÒ»¸ö<td>&nbsp;</td>.
<table border="0" cellpadding="0" cellspacing="0">
<%
dim rs,sqltext
set rs = Server.CreateObject("adodb.recordset")
sqltext="sel ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ