It appears that you're running an Ad-Blocker. This site is monetized by Advertising and by ">User Donations; we ask that if you find this site helpful that you whitelist us in your Ad-Blocker, or make a ">Donation to help aid in operating costs.
Previous Thread
Next Thread
Print Thread
Rate This Thread
#17519 - 05/28/02 05:11 PM vb and cgi  
Joined: May 2002
Posts: 2
karebear Offline
Junior Member
karebear  Offline
Junior Member

Joined: May 2002
Posts: 2
im programming for my class and i need help. im trying to tie vb with cgi or another web-based programming. any help would be nice. shocked

Sponsored Links
#17520 - 05/28/02 05:22 PM Re: vb and cgi  
Joined: Feb 2002
Posts: 7,202
Gremelin Offline
Community Owner
Gremelin  Offline

Community Owner

Joined: Feb 2002
Posts: 7,202
Likes: 11
Portland, OR; USA
can you be more specific... theres a lot that you can do with VB/C/CGI/Perl etc...

Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
#17521 - 05/28/02 06:15 PM Re: vb and cgi  
Joined: Mar 2002
Posts: 1,273
SilentRage Offline
DollarDNS Owner
SilentRage  Offline
DollarDNS Owner

Joined: Mar 2002
Posts: 1,273
Any language can be used to create server-side processing. It's just not going to be CGI as you know it. Standard CGI can be written in any language you've got an interpreter for and writes output to STDOUT. Other than that for languages like VB or assembly or whatever, you need to make a DOS-like program which can read from STDIN (only necessary for POST requests) and write output to STDOUT. The rest of the input can be found in environment variables.

So in short it works like this:

1) Client enters URL:
2) Webserver sets the proper environment variables, and executes vbprog.exe
3) vbprog.exe processes the environment variables and writes HTML to STDOUT and terminates.
4) Webserver sends HTML to client

Since STDOUT is typically a DOS thing, it'll be a lot easier to write it in VB.NET rather than VB 6.0. And since I've never done this before, I can't give you more technical details on how to do it.

It is also possible that your teacher is thinking of a different technique that I'm unfamiliar with.

Domain Registration, Hosting, Management

Member Spotlight
Portland, OR; USA
Posts: 7,202
Joined: February 2002
Show All Member Profiles 
Forum Statistics
Average Daily Posts0
Most Online1,567
Apr 25th, 2010
Latest Postings
by Cyrez on 12/16/17 09:19 AM
Okay WTF?
by HenryMiring on 09/27/17 08:45 AM
The History Thread...
by Gremelin on 08/11/17 07:11 PM
my old account still exists!
by Gremelin on 08/11/17 07:02 PM
My friend NEEDS your HELP!
by Lena01 on 07/21/17 07:06 AM
I'm having fun with this guy.
by gabithompson730 on 07/20/17 08:50 AM
I want to upgrade my phone
by gabithompson730 on 07/20/17 08:49 AM
Top Posters(All Time)
UGN Security 41,392
Gremelin 7,202
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Liked Users (All Time)
§intå× Likes: 3
Black Beard Likes: 1
Cold Sunn Likes: 1
Crime Likes: 1
Cyrez Likes: 1
fleshwound Likes: 1
Ghost Likes: 2
Gremelin Likes: 12
Ice Likes: 1
ninjaneo Likes: 1
Powered by UBB.threads™ PHP Forum Software 7.6.0
(Snapshot build 20170206)