Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

CGI Get Query Parameters VI

LabVIEW Internet Toolkit 6.0.2 Help
June 2008

NI Part Number:
370014C-01

»View Product Info

Owning Palette: CGI VIs

Installed With: Internet Toolkit

Returns the parameters that a CGI request contains. If the request contains a single parameter, the calling VI must use query string. If the request contains a list of parameters, the calling VI must use query params.

The VI decodes only the parameters that the URL for the CGI application sends, or characters that follow the ? in the URL. To decode parameters that a form sends, use the CGI Unescape HTTP Param or CGI Parse URL-Encoded Param String VI.

env specifies CGI environmental variables. Wire this input to the env output of the CGI Read Request VI.
query string contains decoded contents of the QUERY_STRING environmental variable.
query params is a keyed array that contains the decoded parameter list from the QUERY_STRING environmental variable.
has query string returns FALSE if the QUERY_STRING environmental variable does not exist.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit