|
-
Apr 2nd, 2001, 01:40 PM
#1
Thread Starter
Lively Member
In Visual Basic you can use command line parameters with your programs, can you do that with asp? Like if you went to commandline.asp hello.txt the asp would be able to get hello.txt and do something with it(in my case open it and put its contents on a certain part of the webpage)? Any help is appreciated.
-
Apr 2nd, 2001, 02:25 PM
#2
they are called querystrings
http://www.whatever.com/mypage.asp?id=1&name=Chris
Now in asp you can access those by using
request.querystring("id")
request.querystring("name")
the ? mark is used before the first one and all other querystrings after that are seprated by a &
-
Apr 2nd, 2001, 03:21 PM
#3
Thread Starter
Lively Member
Thank you so much! You have no idea how helpful that was.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|