|
Posted on
2009-05-12 11:56
hateyoucode
阅读( 306)
评论()
收藏
举报
 Code Function GetUrl() Dim ScriptAddress,Servername,qs ScriptAddress = CStr(Request.ServerVariables("SCRIPT_NAME")) Servername = CStr(Request.ServerVariables("Server_Name")) qs=Request.QueryString if qs<>"" then GetUrl ="http://"& Servername & ScriptAddress &"?"&qs else GetUrl ="http://"& Servername & ScriptAddress end if End Function
|