PDA

View Full Version : help me!!please


alaios
02-12-2003, 09:24 AM
here its the address of a page
http://e2bsrv:8087/palaios/final.asp?01/01/1998-02/02/1999

do u know how can i take the values after "?"
ex.
value1=01/01/1998
value2=02/02/1999
The problem is that i must do this with vbscript...
I cant use javascript because value1 and value2 are variables in asp document.....
plz help me

Adam20002
02-12-2003, 11:13 AM
when u say u need to collect the values using vbscript because they have come from ASP are they going back into an ASP page. If not u can pull the values of using javascript. It dosent really matter whee they come from originally.

Adam

ScottInTexas
02-12-2003, 01:28 PM
If you need to get the variables in VBSript use this approach.

<%@ Language=VBScript %>
<% Option Explicit %>

<%
Dim FirstVariable
Dim SecondVariable

FirstVariable=QueryString("Value1")
SecondVariabel=QueryString("Value2")

Now do stuff with the variables
%>