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

AspÄÚÖöÔÏóµÄʹÓÃ

¿ÉÒÔʹÓÃÏÂÃæµÄÈκÎASPÄÚÖöÔÏ󣬶ø²»±ØÔÚASP½Å±¾ÖÐÌرðÉùÃ÷¡£
1£® Request£º
¶¨Ò壺¿ÉÓÃÀ´·ÃÎÊ´Óä¯ÀÀÆ÷·¢Ë͵½·þÎñÆ÷µÄÇëÇóÐÅÏ¢£¬¿ÉÓô˶ÔÏó¶ÁÈ¡ÒÑÊäÈëHTML±íµ¥µÄÐÅÏ¢¡£
¼¯£º
Cookies£ºº¬ÓÐä¯ÀÀÆ÷cookiesµÄÖµ
Form£ºº¬ÓÐHTML±íµ¥ÓòÖеÄÖµ
QueryString£ºº¬Óвéѯ×Ö·û´®µÄÖµ
ServerVariables£ºº¬ÓÐÍ·ºÍ»·¾³±äÁ¿ÖеÄÖµ
Àý×Ó£º
request_url.asp
£¼%
'»ñÈ¡Óû§ÊäÈ룬²¢´æÈë±äÁ¿
user_id=request.querystring("user_id")
user_name=request.querystring("user_name")
'ÅжÏÓû§ÊäÈëÊÇ·ñÕýÈ·
if user_id="" then
response.write "User_id is null,please check it"
response.end
end if
if user_name="" then
response.write "User_name is null,please check it"
response.end
end if
'´òÓ¡±äÁ¿
response.write user_id&"<br£¾"
response.write user_name
%£¾
Ч¹û£º
µ±·ÃÎÊhttp://10.1.43.238/course/request_url.asp?user_name=jʱ£º
User_id is null,please check it
µ±·ÃÎÊhttp://10.1.43.238/course/request_url.asp?user_name=j&user_id=my_idʱ£º
my_id
j
˼¿¼£º±äÁ¿ÊÇÈçºÎÔÚURLÖд«µÝºÍ±»AspÒ³Ãæ»ñÈ¡µÄ£¿
request_form.htm
£¼style type="text/css"£¾
£¼!--
.input {background-color: #FFFFFF; border-bottom: black 1px solid;border-left: black 1px solid; border-right: black 1px solid;border-top: black 1px solid; color: #000000;font-family: Georgia; font-size: 9pt;color: midnightblue;}
a:link {color: #1B629C; text-decoration: none}
a:hover {color: #FF6600; text-decoration: underline}
a:visited {text-decoration: none}
--£¾
£¼/style£¾
£¼center£¾
£¼form name="course" action="request_form.asp" method="post"£¾
User_id£º<input type="text" name="user_id" maxlength="20" class="input"£¾<br£¾<br£¾
User_name£º<input type="text" name="user_name" maxlength="30" class="input"£¾
£¼/form£¾
£¼br£¾<br£¾
£¼a href="javascript:document.course.submit();"£¾ Ìá ½» </a£¾
£¼/center£¾
request_form.asp
£¼%
'»ñÈ¡Óû§ÊäÈ룬²¢´æÈë±äÁ¿
user_id=request.form("user_id")
user_name=request.form("user_name")
'ÅжÏÓû§ÊäÈëÊÇ·ñÕýÈ·
if user_id="" then
res


Ïà¹ØÎĵµ£º

ÓÃVB°Ñasp·â×°³Édll


×î¼òµ¥ÓÃVB°Ñasp·â×°³ÉdllµÄÈëÃųÌÐò
µ±IIS±»ÇëÇóÖ´ÐÐÒ»¸öASP³ÌÐò,ËüÊ×ÏÈ»áÔÚASPÎļþÖÐÕÒµ½<%%>±êÇ©Ö®¼äµÄ´úÂë,²¢ÇÒÖ´ÐÐËü(Ò²¿ÉÒÔÊÇ<scri ptrunat=server></script....>Ö®¼äµÄ´úÂë).Èç¹ûÕâ¸öASP³ÌÐòÔÚÏÈÇ°±»µ÷Óùý,ÄÇôËü¾Í»áÓÃÄÚ´æÖеıàÒë¹ýµÄ³ÌÐòÀ´ÏòÓû§·µ»ØHTML´úÂë,Èç¹ûûÓÐ,ÄÇôËü¾ÍÖØбàÒë.Õ ......

asp³ÌÐòÉÏ´«µ½·þÎñÆ÷Êý¾Ý¿âÁ¬½Ó³¬Ê±ÎÊÌâ

ÎÒдÁ˸ö³ÌÐò£¬±¾µØÔËÐÐÍêÈ«Õý³££¬ÉÏ´«µ½·þÎñÆ÷ÔÚ·þÎñÆ÷ÉϲÙ×÷ÓÐʱºòÄÜÕý³£²Ù×÷£¬µ«ÊÇÔËÐÐÒ»»á¶ù¾Í·þÎñÆ÷Á¬½Ó³¬Ê±£¬È»ºó¾Í²»ÄÜÕý³£²Ù×÷ÁË£¬¹Ø±ÕÍøÒ³£¬´ò¿ª»¹ÊDz»ÄÜÁ¬½ÓÊý¾Ý¿â²Ù×÷£¬µÈ°ëСʱºó»òÕ߸ü¾ÃÓÖÄÜÕý³£ÁË£¬ÇëÎÊÕâ¸öÊÇÔõô»ØÊ£¿±¾µØËæʱ¶¼ÄÜÕý³£ÔËÐÐÇÐÕÒ²»³öÈκÎÎÊÌâ¡£¸ßÊÖ°ï°ïæ°¡£¡ ......

ÓÃASP·¢ËÍÓʼþ


'creat by qqlxinye@tom.com
'time 2008-09-19
'qq:273453129
'web www.qqlxinye.cn
dim outSmtp,outUser,outPsd,recUser,recSubmit,bodyContent,AddAttachment,ifsend
function init_mail(str1,str2,str3,str4,str5,str6,str7)
  outSmtp=str1
  outUser=str2
  outPsd=str3
  recUser=str ......

aspÊý¾Ý¿âÁ¬½Ó´úÂë

conndb.asp
<%
Session.CodePage=65001
response.Charset="utf-8"
%>
<%
'Êý¾Ý¿âÁ¬½ÓÎļþ
dim conn
dim connstr
connstr="Provider=Microsoft.Jet.OLEDB.4.0;Data Source="+server.mappath("../date/#heihuhuhuajian.mdb")+";Jet OLEDB:Database Pass ......

Asp»ù±¾ÖªÊ¶

1£®AspÊÇActive Server PagesµÄ¼ò³Æ£¬ÊǽâÊÍÐ͵Ľű¾ÓïÑÔ»·¾³£»
2£®AspµÄÔËÐÐÐèÒªWindows²Ù×÷ϵͳ£¬9xÏÂÐèÒª°²×°PWS£»¶øNT/2000/XPÔòÐèÒª°²×°Internet Information Server£¨¼ò³ÆIIS£©£»
3£®AspºÍJSPµÄ½Å±¾±êÇ©ÊÇ“<%%£¾”£¬PHPµÄÔò¿ÉÒÔÉ趨Ϊ¶àÖÖ£»
4£®AspµÄ×¢ÊÍ·ûºÅÊÇ“'”£»
5.ʹÓø½¼Ó×é ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ