aspÔõôÊäÈëXML£¿
¸÷λ´óÅ££¬ASPÔõôÊä³öXML°¡¡£¸ø¸öÀý×Ó¿´¿´°¡,ÔÚÍøÉÏÕҵöÈ«¶¼²»ÐС£Îļþ²»ÊÇ.xml ¶øÊÇ.asp µÄ
Ч¹ûÊÇÕâÑùµÄ£ºhttp://zl1.behc.com.cn/portal/company.asp?Companyid=13287&Rc=0
Ö±½Ó response.write ¾ÍÐÐÁË
response.write³öÀ´µÄÊÇ×Ö·û´®£¬²»ÊÇXMLÎĵµ°¡
ÉèÖÃÒ»ÏÂÊä³öÎı¾ÀàÐͼ´¿É
Response.ContentType = "text/xml"
Response.Write(" <xml............")
ÔÚÍøÉÏÕÒÁ˶δúÂë
<%
Response.ContentType = "text/XML"
Response.write(" <?xml version=""1.0"" encoding=""gb2312""?>")
Response.write(" <ÊÀ½ç>")
Response.write(" <ÄãºÃ>hello,world </ÄãºÃ>")
Response.write(" </ÊÀ½ç>")
%>
µ«Êä³ö³ö´í
´íÎóÀàÐÍ£º
Microsoft VBScript ±àÒëÆ÷´íÎó (0x800A0408)
ÎÞЧ×Ö·û
/test/11.asp, line 2
銆€銆€ Response.ContentType = "text/XML"
ÊÇÊä³ö£¬²»ÊÇÊäÈ룬´ò´í×ÖÁË
¿ÉÄÜ Response.ContentType Ç°ÃæÓп´²»¼ûµÄ¿Õ×Ö·û£¬É¾µôÇ°ÃæµÄ¿Õ¸ñÊÔÊÔ¿´
Response.write " <?xml version=""1.0"" encoding=""gb2312""?>"´Ë¾äÊä³ö֮ǰ£¬²»ÄÜÊä³ö¿Õ¸ñµÈÆäËû×Ö·û
hookee
ÎҰѿոñɾÁË£¬Êä³öÁËXML£¬µ«ÊÇÎÒ°Ñencoding=""gb2312"" ¸Ä³É utf-8 ÓÖ³öÏÖÉÏÃæµÄ´íÎó£¬ÕâÊÇÔõô»ØÊ£¿
Ŷ¡£Ã÷°×ÁË£¬Ð» л¡£½ÚµãµÃÓÃÓ¢Î
Ïà¹ØÎÊ´ð£º
HTML code:
dim jf
set conn=server.createobject("adodb.connection")
connstr="Driver={Sql Server};Server="&Sqlip&";Database="&Sqldb&";Uid="& ......
<%if request.QueryString("start") <>"" then%>
<%if cint(start)>0 then%>
<a href="search.asp?q= <%=q%>&start= <%if request.Query ......
Îļþ£º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('ÇëÕý ......
ÓÐÄÄλ¸ßÊÖÓùýASP FCKÔÚÏß±à¼Æ÷ѽ£¬ËüÄǸöͼƬÉÏ´«¹¦ÄÜÔõôÅäÖÃѽ
ÄܸøÎÒ·¢¸öÄÜÓÃFCKÔÚÏß±à¼Âð£¿Ò»¶¨ÄÜÉÏ´«Í¼Æ¬¹¦ÄܵÄѽ£¬¼±Ñ½
Ö±½Óµ½¹Ù·½ÍøÕ¾È¥Ï¸ö¾Í¿ÉÒÔÁË£¬¹ØÓÚÉèÖÃô£¬Ö±½ÓGOOGLEÒ»ÏÂÄãµÄ°æ±¾ºÅ¾Í¿ÉÒÔÕÒµ ......