asp delphi ¸ßÊÖÇë°ïæ
ÐÂÀ´´ËÂÛ̳¸Ð¾õÑо¿Æø·ÕºÍ¸Ð¾õ¶¼²»´í £¬²»´í¸ÕÀ´¾Í·¢ÇóÖúÌû×Óȷʵ²»ºÃÒâ˼£¬¿Éȷʵ²»¶®ASP
Function IsCHI(clChar)
Dim z
z = Hex(Asc(clChar))
IsCHI = (Len(z) = 4)
End Function
Function EnCode(clString)
Dim i
Dim x
Dim r
For i = 1 To Len(clString)
x = Mid(clString, i, 1)
If IsCHI(x) = True Then
r = r & Hex(Asc(x))
Else
If Hex(Asc(x)) = "D" Then
r = r & "O" & Hex(Asc(x)) & "DO"
ElseIf Hex(Asc(x)) = "A" Then
r = r
Else
r = r & "O" & Hex(Asc(x)) & "O"
End If
End If
Next
EnCode = r
r = ""
End Function
ËÄÜ°ïæ·ÒëÒ»ÏÂÂ𣬿´²»¶®ASP ·ÒëÆðÀ´»¹ÕæÄÑ
Ï£ÍûÂÛ̳ÓÐÈËÄÜ°ïÏÂæ
СµÜÔÚ´Ëл¹ýÁË
Äܲ»ÄÜ°ï°ïæ°¡£¬ÂÛ̳Óм¼ÊõµÄÈËÄÇô¶à°ïÏÂæ°Ñ
°ïÏÂæ°É£¬ÎÒû·ÖÁË
ÆäËûÓï·¨¶¼²î²»¶à»òÖ±½Ó¿´µÃ¶®°É
&ÊÇ×Ö·û´®
Ïà¹ØÎÊ´ð£º
<%On Error Resume Next
Set conn=Server.CreateObject("ADODB.Connection")
conn.begintrans
conn.Open ("Driver={SQL Server};server=(local);uid=sa;database=student;pwd=")
......
Îļþ£ºfolder.inc
HTML code:
<%
Dim folderini,pos,pageName
fPath = Request.ServerVariables("PATH_TRANSLATED")
pos = instrRev(fPath,"\")
folderini = Left(fPath,pos)+&qu ......
Çë¸÷λ¸ßÊÖ°ï½â¾ö,¼±!!!
<script language="JavaScript" type="text/javascript">
function CheckInput(){
if (document.frm.loginname.length =0){
alert('ÇëÕý ......
ÈçÌ⣬ÈçºÎʵÏÖ£¿Ë¢ÐºóÌá½»Êý¾Ý¡£
Ë¢ÐÂÒ»ÐУ¿Ê²Ã´Ò»ÐС£¡£¡£
Ì«ÁýͳÁË¡£¡£¡£
Èç¹ûÊÇÒªÒ³Ã沿·ÖˢеĻ°
È¥g.cnËÑһϡ°ajax¾Ö²¿Ë¢Ð¡±
¾ÍÊÇË¢ÐÂÒ»¸ö <tr> </tr>ÀïÃæµÄÄÚÈÝ¡£ÓÃjavascriptÔ ......