|
二级域名泛解析
http://amzoo.net/ 发布时间:2013/7/1 来源:广州扬帆科技网 人气: 【大 中 小】 |
<!--#include file="include/conn.asp" --> <% dim sURL,a,b sURL=lcase(Request.ServerVariables("HTTP_HOST") & "") a=len(sURL) b=right(sURL,10) if sURL="yy114.yy114.org" then response.redirect("http://yy114.yy114.org") if sURL="lx-gc.com" then response.redirect("http://www.lx-gc.com") elseif sURL="www.lx-gc.com" then response.redirect("http://www.lx-gc.com") elseif sURL="www.yishuliux" elseif right(sURL,16)=".yishuliuxue.com" then response.redirect("http://www.yishuliuxue.com") elseif a > 10 Then username=left(sURL,len(sURL)-10) if username="yy114" then response.redirect("http://yy114.yy114.org") end if set rs= server.CreateObject ("adodb.recordset") sql = "select Corp_Name from [yy114_corpinfo] where Corp_NetDis=1 and Corp_NetName=’" & username & "’" rs.Open sql,conn,1,1 if rs.EOF or rs.BOF then rs.Close set rs = nothing conn. else Corp_Name = rs("Corp_Name") rs.close set rs = nothing conn.Close set conn = nothing ’ response.write(Corp_NetName & ": 您好!<br>") ’ response.write("欢迎"&Corp_NetName&"进入安全用药二级域名管理网") Response.Redirect "pages/selectcorp.asp?company="&Server.UrlEncode(Corp_Name)&"" end if Else response.redirect("http://www.yy114.org") End If %> |
上一篇:怎么查看服务器日志
下一篇:VB过滤字符 |
| 【打印】【关闭】【加入收藏】 |
|
|
|
|
|
制作流程 |
|
客户提出建站申请
制定网站建设方案
设计出首页平面图客户确认通过
支付预付款进行内页及后台开发
网站测试,客户上网浏览、验收
支付余款上传网站
|
 |
|
联系我们 |
|
联系电话:
15813372291
联系人:
扬帆
在线交流:

联系地址:
广州天河东圃羊城花园
|
|
 |
|