首页 > 网站 > 建站经验 > 正文

获取u_rl包括参数

2019-11-02 15:23:06
字体:
来源:转载
供稿:网友

获取url包括参数
  函数名:G

乐乐影院[www.aikan.tv/special/leleyingyuan/]
etUrl
  作  用:获取url包括参数
  返回值:获取url包括参数
  '****************************************************
  Public Function GetUrl()  
   Dim strTemp    
   strTemp=Request.ServerVariables("Script_Name")     
   If  Trim(Request.QueryString)<> "" Then
    strTemp=strTemp&"?"
    For Each M_item In Request.QueryString
  strTemp=strTemp&M_item&"="&Server.UrlEncode(Trim(Request.QueryString(""&M_item&"")))
    next
   end if
   GetUrl=strTemp  
  End Function
 使用方法
 call GetUrl()

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表