At 15:30 -0600 01/29/2004, Seifert, George wrote: >I need to send a web page a request to send data. Somehow I need to tell it to run a >CGI script along with the parameters needed for the script. I haven't found any >examples on how to do this. Can anyone point me to an example? Thanks.
I have some, but it really depends on how the CGI is designed to accept data. There are 3 ways that browsers pass data to a CGI One, the URL includes parameters at the end of the file specification, usually separated by a questionmark (I think) Two, GET, this is a specific way of including variables and their values in the GET command. It is limited in the amount of information that can be passed. Three, is POST, which allows large amounts of data to be passed back to the CGI. The best way is to look at the HTML code in the browser and snoop the IP connection with something like sniffles that shows the packets and decodes them. You then make a VI that sends the string with the appropriate HTML code to trick the CGI into thinking it has input from some form. I can send one that I made to activate a pager, but it may not work in your case. Also it is based on the ancient Internet toolkit from NI so I can't send the complete code. BTW: It would be nice if NI updated the Mac version! At least the installer should run on a supported OS! -Scott
