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

¼òµ¥µÄasp²É¼¯´úÂë½Ì³ÌµçÄÔ¼¼Êõ½»Á÷

²É¼¯¿ªÊ¼
µÚÒ»²½ÊÇ·ÖÎöÒª²É¼¯µÄÒ³Ãæ¡£
¡¡Ê¹ÓÃä¯ÀÀÆ÷´ò¿ªÒª²É¼¯µÄÒ³Ã棨Èç:http://sports.sina.com.cn/k/2008-09-15/04593948756.shtml£¬Äã¿ÉÒÔÆäËûÒ³Ã棩£¬´ò¿ªºó£¬µã»÷ÓÒ¼ü£¬²éÔ´Îļþ¡£
µÚ¶þ²½£¬ÕÒµ½Òª²É¼¯µÄÄÚÈÝËùÔÚλÖá£
¼ÙÈçÎÒÒª²É¼¯Õâ¸öÒ³ÃæÉϵıêÌâºÍÄÚÈÝËùÔÚµÄλÖãº
±êÌâÔÚ<h1 id="artibodyTitle" style="color03005C;">ºÍ</h1>Ö®¼ä
ÄÚÈÝÔÚ£¼!-- ÕýÎÄÄÚÈÝ begin --£¾ºÍ£¼!-- ÕýÎÄÄÚÈÝ end --£¾Ö®¼ä
×¢ÒâÒ»ÏÂËùÔÚλÖõÄΨһÐÔ£¬¿ÉÒÔÔÚÕÒµ½ºó£¬Ê¹Óñ༭ÖеIJéÕÒ£¬¿´¿´ÊDz»ÊÇΨһµÄ£¬¾¡¿ÉÄÜÊÇΨһµÄ£¬Èç¹û²»ÊÇ£¬¾¡¿ÉÄÜÊǵÚÒ»¸ö£¬Èç¹ûÔÙ²»ÐУ¬Ö»Äܸü»»
µÚÈý²½£¬Ð´´úÂë
¸´ÖÆ´úÂë ´úÂëÈçÏÂ/div>
< %
¡¡'¹¦ÄÜ£ºasp²É¼¯´úÂë
'×÷Õߣºwangsdong
'±¸×¢£ºÖ§³ÖÔ­´´³ÌÐò£¬Çë±£Áô´ËÐÅÏ¢£¬Ð»Ð»
url="http://sports.sina.com.cn/k/2008-09-15/04593948756.shtml"
str=getHTTPPage(url)
title=strcut(str,"<h1 id=""artibodyTitle"" style=""color03005C;"">","</h1>",2)
content=strcut(str,"<!-- ÕýÎÄÄÚÈÝ begin -->","<!-- ÕýÎÄÄÚÈÝ end -->",2)
response.write "ÐÂÎűêÌâ<br><b>"&title&"</b><br><br><br>ÐÂÎÅÄÚÈÝ:<br>"&content
Function getHTTPPage(url)
On Error Resumwww.gxqingyuan.come Next
dim http
set http=Server.createobject("Microsoft.XMLHTTP")
Http.open "GET",url,false
Http.send()
if Http.readystate<>4 then
exit function
end if
getHTTPPage=bytesToBSTR(Http.responseBody,"GB2312")
set http=nothing
If Err.number<>0 then
Response.Write "<p align='center'><font color='red'><b>·þÎñÆ÷»ñÈ¡ÎļþÄÚÈݳö´í</b></font></p>"
Err.Clear
End If
End Function
Function BytesToBstr(body,Cset)
dim objstream
set objstream = Server.CreateObject("adodb.stream")
objstream.Type = 1
objstream.Mode =3
objstream.Open
objstream.Write body
objstream.Position = 0
objstream.Type = 2
objstream.Charset = Cset
BytesToBstr = objstream.ReadText
objstream.Close
set objstream = _disibledevent= Mid(strHtml,S1,S2-S1)
End If
End Function
% >


Ïà¹ØÎĵµ£º

ASP.NET ÈçºÎ£ºÏò ASP.NET ÍøÒ³ÖÐÌí¼ÓµÇ¼°´Å¥


ΪÁËʹÓû§Äܹ»µÇ¼ʹÓà ASP.NET ³ÉÔ±×ʸñ£¨Forms Éí·ÝÑéÖ¤£©½øÐÐÓû§Éí·ÝÑéÖ¤µÄ ASP.NET Ó¦ÓóÌÐò£¬¿ÉÒÔʹÓà LoginStatus ¿Ø¼þ¡£LoginStatus ¿Ø¼þ¼ì²âÓû§µÄÉí·ÝÑé֤״̬¡£Èç¹ûÓû§Î´¾­¹ýÉí·ÝÑéÖ¤£¬¸Ã¿Ø¼þ½«ÏÔʾһ¸ö°´Å¥£¬Òýµ¼Óû§½øÈëÓ¦ÓóÌÐòµÄµÇ¼ҳ¡£Èç¹ûÓû§ÒѾ­¹ýÉí·ÝÑéÖ¤£¬LoginStatus ¿Ø¼þ½«ÏÔʾһ¸ö°´Å¥£¬Óû§¿ ......

ÓÃISAPI_RewriteʵÏÖaspα¾²Ì¬

ASPÍøÕ¾³ÌÐòÔÚ¹úÄÚÔËÓúܹã,µ«ÊÇÀàËÆÓÚ im286.asp?id=20050307213811ÕâÑùµÄURLÓе㲻ÀûÓÚËÑË÷ÒýÇæµÄÊÕ¼,Ò²¾ÍÊÇ˵²»·ûºÏÓѺÃURL(URLs- Friendly)µÄ±ê×¼,ÄÇôÎÒÃÇÓÃISAPI_Rewrite´òÔìÒ»¸öClean URL,
1.ÏÂÔØISAPI_Rewrite.ISAPI_Rewrite ·Ö¾«¼ò(Lite)ºÍÍêÈ«(Full)°æ.¾«¼ò°æ²»Ö§³Ö¶Ôÿ¸öÐéÄâÖ÷»úÕ¾µã½øÐÐÖØд,Ö»ÄܽøÐÐÈ«¾Ö´¦À ......

aspÁ¬½Óaccess,³öÏÖ0x80004005,δָ¶¨µÄ´íÎó


aspÁ¬½Óaccess,³öÏÖ0x80004005,δָ¶¨µÄ´íÎó
aspÀ´Á¬½ÓaccessÊý¾Ý¿â
±¾µØ²âÊÔ·¢ÏÖ,¾²Ì¬Ò³¿ÉÒÔ´ò¿ª.
ºÍÊý¾Ý¿â½¨Á¢Á´½ÓµÄ´úÂëconn.open connstr Ðгö´í,µ«ÊÇÒÔÇ°²âÊÔʪ¿ÉÒÔͨ¹ýµÄ.
ÔÚÍøÉÏÕÒÁËÕÒ½â¾ö°ì·¨,ÀýÈ磺 ¸øÓû§¼ÓȨÏÞ,¸ü¸ÄiisÉèÖÃ.µ«ÊÇ»¹ÊDz»ÐÐ.
¼ÌÐøÕÒ£¬ÕÒµ½Ò»ÆªÎÄÕ£¬ËµÊÇÒªÐÞ¸Äc:\windows\temp ȨÏ޵ġ£
......

asp»º´æÇåÀíÓï¾ä˵Ã÷£º

<%
Response.Buffer = True
'Ò»°ãÇé¿öÏ£¬µ±Óû§ÇëÇóWEB·þÎñÆ÷ʱ£¬·þÎñÆ÷°ÑÇëÇó»Ø¸´¸ø¿Í»§¶Ë¡£ÔÚ¿Í»§¶Ë£¬ä¯ÀÀÆ÷°Ñ»º´æ×÷ΪһÖÖ¼Ó¿ìËٶȵIJßÂÔ£¬¾ÍÊǵ±ÇëÇóʱÏȼì²é»º´æµÄÇé¿ö£¬Èç¹ûÓоÍÖ±½Óµ÷»º´æÁË£¬¶ø²»ÇëÇó·þÎñÆ÷ÁË¡£
'ÔÚWEB³ÌÐòÉè¼ÆÖУ¬ÓÐʱΪÁË·ÀÖ¹Öظ´µÄÌá½»»òÕßÑϸñµÄ´ÎÐòµÈ£¬±ØÐëÈÃÓû§µÄÊý¾ÝÁ¢¼´ÔÚʹÓúó¾Í ......

ASP´íÎóÌáʾ´óÈ«

MicrosoftVBScriptÓï·¨´íÎó(0×800A03E9)–£¾ÄÚ´æ²»×ãMicrosoftVBScriptÓï·¨´íÎó(0×800A03EA)–£¾Óï·¨´íÎó
 
MicrosoftVBScriptÓï·¨´íÎó(0×800A03EB)–£¾È±ÉÙ?’:’
 
MicrosoftVBScriptÓï·¨´íÎó(0×800A03ED)–£¾È±ÉÙ?’(’
 
Micros ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ