Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Retrieving elements of URL address

Status
Not open for further replies.

EdRev

Programmer
Aug 29, 2000
510
US
How can I retrieve the elements of a URL address. For example Ihave this URL address:


I need to retrieve the text "thistest" and assign it to a variable on my asp page.

Any help will be greatly appreciated
 
i think

<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD.
<BODY>
Test webpage with for request query string manip
<script language=vbscript>
strqry = location.search
document.write strqry

</script>
</HTML>
 
<% app = request(&quot;app&quot;) %>
mb

&quot;Where's the Ka-Boom? There's supposed to be an Earth-shattering Ka-Boom!&quot;
Marvin the Martian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top