PDA

Click to See Complete Forum and Search --> : VB and CGI


kokmun
Mar 23rd, 2000, 02:48 PM
Hi there!

I have a question here regarding CGI and VB. How
can I invoke a Perl CGI script that is located in
a Apache Web Server which is running on Linux
operating system. I tried to use the Internet
Transfer Component to access the script but I
can't seem to pass the inputs keyed in by the
user to the script... (u think this is the
correct approach or should I try to use SocketWrench by Catalyst Development?)

The application I'm building on requires me to
present a login form (not a web page form but a
form presented by VB) so that authorised users
can log in to the server over the internet and get access to the services. Subsequently I also need to present
another form that allows the users to update
their profile thru my application.

Thanks a lot!

Steven

Paul282
Mar 23rd, 2000, 04:00 PM
If you're just talking to CGI scripts then most of the work is done for you, just hide a webbrowser or inet control and pass text commands between your form and the internet control using POST and GET in HTTP.

If you know how CGI works you're just making http requests to the script.

EG. a GET passes to the querystring global variable in linux so...

http://server/script.cgi?username=ME&password=SHHHH

...and collect the result. What's wrong with a normal web browser though????