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

CGI Get Info 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 path and name information about a CGI VI you are invoking. Use these values when a CGI VI builds an HTML document that contains links back to the VI.

Details  

env specifies CGI environmental variables. Wire this input to the env output of the CGI Read Request VI.
cgi name contains the name of the CGI VI.
virtual path contains the virtual path through which you invoked the CGI VI.
absolute path contains the absolute file path to the CGI VI.

CGI Get Info Details

If the G Web Server is configured to have the document root directory set to

/c/labview/internet/home

and the CGI VI at location

c:\labview\internet\home\cgi-bin\test\cgi-test.vi

is invoked through the URL

http://server.machine/cgi-bin/test/cgi-test.vi

then the VI returns the following values:

cgi-test.vi

/cgi-bin/test/cgi-test.vi

c:\labview\internet\home\cgi-bin\test\cgi-test.vi


Resources


 

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