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

aspÖÐÓÃjmail£¬Cdonts×é¼þºÍAspemail×é¼þ·¢Óʼþ


JMAIL°²×°ÅäÖÃ
jmail·¢ËÍÓʼþµÄʵÀý´úÂëÍøÉϺܶà.µ«ÊÇÓÐЩϸ½ÚÈç¹û²»ÅäÖúÃ,·¢ËÍʧ°ÜµÄ¿ÉÄÜÐԺܴó.
Ê×ÏÈ˵Ã÷Ò»ÏÂjmail°²×°ÅäÖò½Öè:
1. JMail ÏÂÔصØÖ·
http://hbdx3.skycn.com/down/w3JMail43Personal.exe
2.°²×°
±¾ÈËÔÚWindows 2003ÏÂÃæÅäÖÃ,ÆäËüϵͳ»¹Ã»ÓвâÊÔ.
°²×°µ½Ä¿Â¼±ÈÈç: C:\Program Files\Dimac\w3JMail4\jmail.dll
È»ºó»¹ÐèÒª°Ñjmail.dll¸´ÖƵ½ÏµÍ³Ä¿Â¼,±ÈÈçC:\WINDOWS\system32
ÔÙÔËÐÐ:regsvr32 jmail.dll
ÕâÑù²ÅËã°Ñjmail°²×°ºÃÁË.
------------------------------------------------------
¿ÉÒÔÑ¡ÔñÐÔʹÓÃjmail£¬CDO×é¼þºÍAspemail×é¼þÆäÖÐÒ»¸ö¡£Ä¬ÈϵĻ°£¬½«Ê¹ÓÃJmail×é¼þ·¢Óʼþ¡£°ÑÒÔÏÂÎļþÁí´æ³ÉSendMail.asp.¸ÄÒ»ÏÂÀïÃæµÄe_¿ªÍ·µÄ±äÁ¿µÄÉèÖÃ.Óà <!--#include file="SendMail.asp"--> °üº¬.È»ºóÒª·¢ÓʼþµÄʱºò.Óà SendEmail "hjc73@126.com","test","this is test!","Jmail"
º¯Êý¡£'ÒÔÉÏÊDzâÊԵĹý³Ì .µÚÒ»ÏîÊÇMAILÊÕ¼þÈË,µÚ¶þÏîΪÖ÷Ìâ,µÚÈýÏîΪÕýÎÄ,µÚÈýΪ·¢¼þģʽ.·Ö±ðÊÇJmail,Cdonts,Aspemail×¢Òâ´óСд¡£
sendmail.aspµÄ´úÂë:
<!--#include file="SendMail.asp"-->
<%
E_Server = "mail.am8way.com"   ''·¢¼þ·þÎñÆ÷µØÖ·
E_ServerUser = "joy@am8way.com"  ''·¢¼þ·þÎñÆ÷µÇ¼Óû§Ãû(Èç¹û²»ÐèÒªÓʼþÑéÖ¤.¾Í²»ÓÃд)
E_ServerPass = "123456"   ''·¢¼þ·þÎñÆ÷µÇ¼ÃÜÂë(Èç¹û²»ÐèÒªÓʼþÑéÖ¤.¾Í²»ÓÃд)
E_SendManMail = "joy@am8way.com"  ''·¢¼þÈËÓʼþµØÖ·
E_SendManName = "ϵͳ¹ÜÀíÔ±"   ''·¢¼þÈËÐÕÃû
Sub Jmail(Email,Topic,Mailbody)'Jmail×é¼þ·¢ÐÅ
On Error Resume Next
Dim JMail
Set JMail = Server.CreateObject("JMail.Message")
JMail.silent=true
JMail.Logging = True
JMail.Charset = "gb2312"
If Not(E_ServerUser = "" Or E_ServerPass = "") Then
  JMail.MailServerUserName = E_ServerUser
  JMail.MailServerPassword = E_ServerPass
End If
JMail.ContentType = "text/html"
JMail.Priority = 1
JMail.from = E_SendManMail
JMail.fromName = E_SendManName
JMail.AddRecipient Email
JMail.Subject = Topic
JMail.Body = Mailbody
JMail.Send (E_Server)
Set JMail = Nothing
SendMail = "OK"
If Err Then SendMail = "False"
End Sub
Sub Cdonts(Email,Topic,Mailbody)'C


Ïà¹ØÎĵµ£º

aspÖеļ¸¸öÈ¡Õûº¯Êý

aspÖеļ¸¸öÈ¡Õûº¯ÊýÊÇ£ºfix(),int(),round();
Int(number)¡¢Fix(number)º¯Êý·µ»ØÊý×ÖµÄÕûÊý²¿·Ö¡£number ²ÎÊý¿ÉÒÔÊÇÈÎÒâÓÐЧµÄÊýÖµ±í´ïʽ¡£Èç¹û number ²ÎÊý°üº¬ Null£¬Ôò·µ»Ø Null¡£
Àý£º
response.write int(2.14) '2
response.write fix(2.14) '2
response.write int(2.54) '2
response.write int(2.54) '2
&nbs ......

asp,asp.net,php,jspϵÄ301תÏò´úÂë,ÕûÕ¾Öض¨Ïò

 asp,asp.net,php,jspϵÄ301תÏò´úÂë
ʹÓÃ.htaccessÎļþÀ´½øÐÐ301Öض¨Ïò¡£
Èç¹û¿Õ¼ä²»Ö§³Ö.htaccessÎļþ£¬ÄÇôÎÒÃÇ»¹¿ÉÒÔͨ¹ýphp/asp´úÂëÀ´½øÐÐ301Öض¨Ïò¡£
ΪÁ˽«ËÑË÷ÒýÇæµÄ¼Ç¼¸üе½ÏÖÔÚµÄÓòÃûÉÏÃæ,×öÁ˼¸¸ö301Öض¨ÏòµÄ¶«¶«,¸ø´ó¼Ò·ÖÏíÒ»ÏÂ.
asp 301תÏò´úÂë
ÔÚ index.asp »ò default.asp µÄ×²¿¼ÓÈëÒÔ ......

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²Ù×÷DTS½øÐдú²ÎÊýµÄÊý¾Ýµ¼Èëµ¼³ö

Asp²Ù×÷DTS½øÐдú²ÎÊýµÄÊý¾Ýµ¼Èëµ¼³ö
ÄêÇ°½ÓÁËÒ»¸öСÏîÄ¿,ÆäÖÐÒ»²¿·ÖÊǽ«sqlÖеÄÊý¾Ý½øÐÐÓÐÑ¡ÔñµÄµ¼³öµ½Ò»¸ömdbÖС£
ÕâЩÊÇÍêÈ«¿ÉÒÔͨ¹ýaspµÃsqlÓï¾ä½øÐвÙ×÷µÄ£¬µ«ÊÇ»¹ÊÇÏë°ÑÖ÷Òªµ¼³öµÄÈÎÎñ½»¸øsql serverÈ¥×ö£¬aspÖ÷ÒªÊǵ÷¶¯Õâ¸ö³ÌÐò¶øÒÑ¡£
Ïëµ½ÒÔÇ°×ö¹ýµÄ¶«Î÷£¬¾õµÃʵÏÖÆðÀ´²¢²»ÄÑ£¬Ö»ÊÇÒ»¸ö²ÎÊýµÄÎÊÌâ¡£
¿ªÊ¼ÊµÏÖ£ ......

ASP¸ß¼¶¼¼Êõ¾«Ñ¡¼¯

ASP¸ß¼¶¼¼Êõ¾«Ñ¡¼¯
 
Ò»¡¢GetRowsµÄʹÓ÷½·¨£º
<%
Set conn=Server.CreateObject("Adodb.Connection")
conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.Mappath("test.mdb")
Set Rs=Server.CreateObject("Adodb.Recordset")
Rs.Open "Select Top 2 * from ±íÃû",conn,0,1 &nb ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ