Forums
This topic is locked
help with querystring
Replies
Replied 11 Sep 2006 05:24:02
11 Sep 2006 05:24:02 Kelly Bell replied:
Thats a easy one mate.
Answer:
strWebUrl = Request.ServerVariables("HTTP_HOST"
Hope that the answer you are looking for.
Answer:
strWebUrl = Request.ServerVariables("HTTP_HOST"
Hope that the answer you are looking for.
Replied 11 Sep 2006 05:27:42
11 Sep 2006 05:27:42 Kelly Bell replied:
If you want to Request the whole URL from your Address.
Example:
www.domainname.co.nz/default.asp?pageid=myhomepage
Answer:
Request.ServerVariables("CODE-ETC"
HTTP_HOST = www.domainname.co.nz
SCRIPT_NAME = /default.asp
QUERY_STRING = pageid=myhomepage
Hope that helps!
Example:
www.domainname.co.nz/default.asp?pageid=myhomepage
Answer:
Request.ServerVariables("CODE-ETC"
HTTP_HOST = www.domainname.co.nz
SCRIPT_NAME = /default.asp
QUERY_STRING = pageid=myhomepage
Hope that helps!