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

aspѧϰ±Ê¼Ç


VBScript:
¶¨Òå±äÁ¿Ê±ºò²»ÄÜÖ±½Ó¸³Öµ£¬È磺
Dim i=1 ÊÇ´íÎóµÄ£¬Ó¦¸ÃÕâÑù£º
Dim i
i = 1
——————————————
½áÊø³ÌÐò£ºresponse.end
Ìø³öÑ­»·»òÕߺ¯Êý¡¢×Ó³ÌÐòµÈÓÃexit …
——————————————
±äÁ¿Ãû´óСдģºý¡£
——————————————
response.write “” ÖÐÒªÊä³öË«ÒýºÅֻҪʹÓÃÁ½¸öË«ÒýºÅ£º
1
response.write "<a href=""demo.html"">demo</a>"
Êä³ö½á¹û£º
1
<a href="demo.html">demo</a>
——————————————
ÉèÖÃsessionʱ¼ä:
session.timeout = 30 ‘°ëСʱ
——————————————
ÔÚÓÃsqlÓï¾äinsertµÄʱºò,Èç¹ûÓдæÔÚ”Êý×Ö”ÀàÐÍ,Ò»¶¨Òª²åÈëÒ»¸öÊý×Ö,ÄÄÅÂÊÇÁã.²»È»¾Í»á±¨´í”Êý¾ÝÀàÐͲ»Æ¥Åä.
×ÔÔö×Ö¶ÎÒª±Ü¹ý²»ÒªÐ´³öÀ´,ÀàËÆ
1
2
3
insert into table values('', 'xinple') //´íÎó,phpÖпÉÒÔ
insert into table(id,name) values('', 'xinple')//´íÎó,phpÖпÉÒÔ
insert into table(name) values('xinple')//ÕýÈ·
»á±¨´í(ÔÚphpÀïÃæʹÓÔÀ´±Ü×ÔÔöµÄid×ֶοÉÒÔ,aspÀïÃæ²»ÐÐ)
Òª½â¾öÕâ¸öÎÊÌâºÜ¼òµ¥,Ö»Òª°ÑÒª²åÈëÊý¾ÝµÄ×Ö¶ÎÃûд³öÀ´,²»ÒªµÄ²»Ð´¾ÍºÃÁË.(²»ÒªÍµÀÁÊ¡ÂÔ)
——————————————
ÔÚʹÓÃ
if…then
elseif … then
end if
µÄʱºò,elseifÒªÁ¬×Åд,Èç¹û·Ö¿ªelse if,¾Í»á±¨´íȱÉÙend


Ïà¹ØÎĵµ£º

ASPÓ¦ÓÃÖ®FSO×é¼þÖ®Îļþ²Ù×÷´óÈ«


'ʹÓÃFSOÐÞ¸ÄÎļþÌض¨ÄÚÈݵĺ¯Êý
Function FSOchange(filename,Target,String)
Dim objFSO,objCountFile,FiletempData
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
Set objCountFile = objFSO.OpenTextFile(Server.MapPath(filename),1,True)
FiletempData = objCountFile.ReadAll
objCountFi ......

asp now() º¯Êý¸ñʽÎÊÌâ

±¾½â¾ö·½·¨Õª×ÔÍøÂçÎÄÕ£¬ÒѾ­ÑéÖ¤¿ÉÐС£
    ÐÂÉϵÄһ̨·þÎñÆ÷³öÏÖÁËÒ»¸öÏÖÏó£ºASP³ÌÐòÖУ¬µ÷Óú¯ÊýNow()£¬ÏÔʾµÄʱ¼ä×ÜÊÇÐÎÈç“2009-07-12 ÉÏÎç 08:12:56¡¡”ÕâÑùµÄ£¬×ÜÏÔʾ“ÉÏÎ町͓ÏÂÎ産¬µ¼ÖÂÊý¾Ý¿â²åÈë²Ù×÷Òì³££¬½â¾ö¹ý³Ì¼°×îÖÕ½â¾ö·½·¨ÈçÏ£º
ÕâôÏÔʾ£¬Ò»°ã¶¼Ê ......

ASPÖÐÊ®´ó³£ÓóÌÐò´úÂë.£ºµÚÁù½Ú¡´ÎÒµÄÐĵáµ

ÓÃASPʵÏÖÖ§³Ö¸½¼þµÄEMailϵͳ(1)
  
¡¡¡¡´ó¼Ò¾­³£Ì½ÌÖʹÓÃasp£¬¶ø²»Ê¹ÓÃÆäËû×齨ÄÜ·ñʵÏÖÎļþµÄÉÏ´«£¬´Ó¶ø¿ª·¢³öÖ§³ÖÓʼþ¸½¼þµÄÓʼþϵͳ£¬´ð°¸ÊÇ¿ÉÒԵġ£
¡¡¡¡ÒÔÏÂÊÇ·¢ËÍÓʼþµÄÒ³Ã棬ÓʼþµÄÕʺÅÊÇÔ±¹¤ºÅ£¬¼ÙÉèÊÇ5λµÄÊý×Ö£¬sendmail.aspµ±È»ÊÇÔںϷ¨µÇ½ºó²ÅÄܹ»¿´µ½µÄ
£¼html£¾
£¼head£¾
£¼meta http-eq ......

ASPÖÐÊ®´ó³£ÓóÌÐò´úÂë.£ºµÚ°Ë½Ú¡´ÎÒµÄÐĵáµ

ÓÃASPʵÏÖÖ§³Ö¸½¼þµÄEMailϵͳ(2)
  
¡¡¡¡²»¹ýÕâ½ö½öÖ»Êǵõ½ÁË·¢ËÍÕßµÄipµØÖ·ºÍmacµØÖ·£¬¶øÇÒ½ûÖ¹Óû§×Ô¼º¸ü¸Ä×Ô¼ºipµØÖ·µÄ´úÂ룬ÒòΪÎÒÃǵÄϵͳÊÇÐèÒª¶Ô¸öÈËÐÞ¸ÄipµÄÐÐΪ½øÐнûÖ¹µÄ¡£
£¼%
strIP = Request.ServerVariables("REMOTE_ADDR")
Set net = Server.CreateObject("wscript.network")
Set sh = S ......

ASPÖÐÊ®´ó³£ÓóÌÐò´úÂë.£ºµÚ¾Å½Ú¡´ÎÒµÄÐĵáµ

ÓÃASPʵÏÖÖ§³Ö¸½¼þµÄEMailϵͳ(3)
  
¡¡¡¡³¢ÊÔ·¢ËÍÓʼþ£¬µ«ÊÇʧ°ÜÁË£¬ÇëÐ޸ĴíÎóºóÖØÊÔ£¡
£¼script language="javascript"£¾
alert("ÄúÊäÈëµÄÊÕ¼þ×é¸ñʽ´íÎó£¡\rÕýÈ·µÄ¸ñʽÊÇ:'gr:001'");
history.back();
£¼/script£¾
£¼p£¾
£¼%
response.end
else
thegroup=(mid(trim(strfieldvalue),4))
end if
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ