2020
09-23
09-23
asp获取当前完整路径(url)的函数代码
有时候我么您需要获取网址,端口、路径文件名、参数等,这里就为大家分享一下这个函数代码,需要的朋友可以参考下函数1<%functionGetUrl()onErrorResumeNextDimstrTempifLCase(request.ServerVariables("HTTPS"))="off"ThenstrTemp="http://"ElsestrTemp="https://"endifstrTemp=strTemp&Request.ServerVariables("SERVER_NAME")ifRequest.ServerVariables("SERVER_PORT")<>80ThenstrTemp=strTemp...
继续阅读 >