Solved

CGI-VB-GET

Posted on 1999-01-23
3
170 Views
Last Modified: 2013-12-25
Using a VB CGI, I know how to parse the params an their values from a <FORM> by using method="POST".
How can I parse these params, and how can I recognize them in the CGI, using method="GET"?
0
Comment
Question by:vali
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 11

Accepted Solution

by:
mouatts earned 10 total points
ID: 1832381
The params are in an environment variable called QUERY_STRING.
They will be URL Encoded (that is to say some characters will be written as there hex value preceded by an % and all spaces will be converted to +. Each name, value pair will be delimited by a & and each name and value seperated by a =.

So if the url was

http://mysite.mydomain.com/myprog.cgi?p1=fred&p2=fred+flintstone

then QUERY_STRING will contain
p1=fred&p2=fred+flintstone

HTH
Steve


0
 

Author Comment

by:vali
ID: 1832382
I think your answer goes well for ''GET"- method, what about the "POST"-method?
Isn't it different? I think it is. So....?

Thanks anyway, Steve!
0
 

Author Comment

by:vali
ID: 1832383
I reconsider the answer.
I give you the 15 points.

Thanks for answering....!

Vali,

PS. Case closed.
0

Featured Post

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
exchange ,script 10 70
Handling case and special names in javascript 3 51
Testing site for http code 200 or curl equiv for Windows 2 100
Notepad++ Question 11 27
Making a simple AJAX shopping cart Couple years ago I made my first shopping cart, I used iframe and JavaScript, it was very good at that time, there were no sessions or AJAX, I used cookies on clients machine. Today we have more advanced techno…
It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question