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

aspºÍmysql·ÖÒ³´úÂë

 <!--#include file="zheboconn.asp"-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312" />
<title>aspºÍmysql·ÖÒ³´úÂë</title>
<style type="text/css">
<!--
.STYLE3 {
 font-size: 15px;
 font-family: "ËÎÌå";
 color: #000000;
}
img{border:none}
.STYLE1 {
 font-family: "ÎͦCSÖкÚ";
 color: #ffffff;
 font-size: 18px;
}
-->
</style>
</head>
<body scroll="no"> //È¥µô¹ö¶¯Ìõ
  <table width="97%" border="0" align="center" scroll="no">
    <tr>
      <td height="35" valign="top"><%
'asp+mysql·ÖÒ³
Dim strSql,Rs
Dim intRecordNum,intCurrentPage,intRowcount
Dim intPageCount:intPageCount = 5  'ÿҳ5Ìõ¼Ç¼
intRowcount = 0
'»ñµÃ×ܼǼ
Set Rs = Conn.Execute("SELECT COUNT(*) As intcounts from  ±íÃû")               
If Rs.Eof And Rs.Bof Then
 intRecordNum = 0
Else
 intRecordNum = Cint(Rs("intcounts"))
End If
Dim intTotalPages
If (intRecordNum mod intPageCount)>0 Then
 intTotalPages = Int(intRecordNum/intPageCount) + 1
Else
 intTotalPages = intRecordNum/intPageCount
End If
intCurrentPage = 1
If IsEmpty(Request("intCurrentPage")) Or IsNull(Request("intCurrentPage")) Or Trim(Request("intCurrentPage"))="" Or (Not IsNumeric(Request("intCurrentPage"))) Or Len(Request("intCurrentPage"))>8 Then
 intCurrentPage = 1
ElseIf Clng(Request("intCurrentPage")) < 1 Then
 intCurrentPage = 1
ElseIf Clng(Request("intCurrentPage")) > intTotalPages Then
 intCurrentPage = intTotalPages
Else
 intCurrentPage = Clng(Request("intCurrentPage"))
End If
Set Rs = Nothing
Set Rs = Server.CreateObject("ADODB.RecordSet")
strSql = "SELECT * from  ±íÃû  Order By id DESC LIMIT " & (i


Ïà¹ØÎĵµ£º

ubuntu°²×°MySQL£¬Apache

 °²裝MySQL-Server
$ sudo apt-get install mysql-server
°²裝Apache HTTP Server
$ sudo apt-get install apache2
°²裝PHP for Apache HTTP Server
$ sudo apt-get install php5
°²裝MySQL for Apache HTTP Server
$ sudo apt-get install libapache2-mod-auth-mysql
$ sudo apt-get ......

ͨ¹ý·ÖÇø£¨Partition£©ÌáÉýMySQLÐÔÄÜ

°³½ñÌìÕâô¼¤¶¯ÓÖÏëдÎÄÕµÄÔ­ÒòÊÇMySQL5.1µÄ·¢²¼´øÀ´ÁËÉè¼Æ³¬Ç¿¶¯Á¦Êý¾Ý¿âµÄÇ¿ÓÐÁ¦µÄÎäÆ÷£¬ÈκÎMySQLµÄDBA¶¼Ó¦¸Ã¾¡¿ìѧϰ²¢Ê¹ÓÃËü¡£°³¾õµÃÈç¹ûÄܺܺõÎʹÓÃÕâ¸ö5.1°æ´øÀ´µÄÐÂÌØÐÔ£¬DBA¿ÉÒÔʹ×Ô¼º¹ÜÀíµÄVLDB£¨²»ÖªµÀʲôÊÇVLDB£¿¸æËßÄ㣬ÊǺôóºÃ´óµÄÊý¾Ý¿âµÄÒâ˼£¬Very Large DB£©»òÊý¾Ý²Ö¿âÆæ¼£°ãµÄ»ñµÃ¾Þ´óµÄÐÔÄÜÌáÉý¡£ ......

×öASPС͵³ÌÐò

 (Ò»)ÈçºÎ½ØÈ¡Ö¸¶¨ÇøÓòµÄHTML´úÂë?
¡¡¡¡(¶Ô·½ÍøÕ¾µÄHTML´úÂëÔÚÄĶù¿´£¿ÔΣºIEä¯ÀÀÆ÷>>²é¿´>>Ô´Îļþ¡£²»Òª¸æËßÎÒÄã²»ÖªµÀIEÊÇʲô£¡)£¬ÀýÈçÎÒÖ»Ïë»ñÈ¡ÒÔÏÂHTML´úÂëÖÐ"<td>"ºÍ"</td>"Ö®¼äµÄµÄÎÄ×Ö²¿·Ö£º
<html>
<title>ÍøÕ¾°®ºÃÕß__http://www.wwwfan.cn</title>
< ......

asp»ñÈ¡ÉÏÒ»Ò³µØÖ·µÄ·½·¨

<%
If Request.ServerVariables("HTTP_REFERER")<>"" Then
      tmpstr=Request.ServerVariables("HTTP_REFERER")
Else
     tmpstr="index.htm"
End If
response.Redirect(tmpstr)
%>
´úÂë½âÊÍ£º
Request.ServerVariables("HTTP_REFERER")ÊÇ»ñÈ¡ÉÏÒ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ