Results 1 to 2 of 2

Thread: VB and CGI

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2000
    Posts
    17
    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

  2. #2
    Fanatic Member
    Join Date
    Feb 2000
    Location
    Japan
    Posts
    840
    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????

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width