Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

CGI-VB-GET

Posted on 1999-01-23
3
Medium Priority
?
172 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 30 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

This article will show, step by step, how to integrate R code into a R Sweave document
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

704 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