UGN Security Forums
My ProfileMember DirectoryLogin
Search our ForumsView our FAQView our Site Rules
View our CalendarView our Active TopicsGo to our Main Page

UGN Security Store

Network Sites UGN Security, The GoNix Initiative, Elite Web Gamers, Back of the Web, EveryDay Helper, VNC Web Design & Development
Sponsored Links
Latest Postings
by Herbert_Sherbert
09/07/15 10:34 AM
Latest Reviews
Topic Options
Rate This Topic
#17519 - 05/28/02 10:11 AM vb and cgi
karebear Offline
Junior Member

Registered: 05/28/02
Posts: 2
Loc: lynchburg
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.

Sponsored Links
#17520 - 05/28/02 10:22 AM Re: vb and cgi
Gremelin Offline

Community Owner

Registered: 02/28/02
Posts: 7193
Loc: 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, Elite Web Gamers & VNC Web Design Owner

#17521 - 05/28/02 11:15 AM Re: vb and cgi
SilentRage Offline
DollarDNS Owner

Registered: 03/04/02
Posts: 1273
Loc: OH, USA
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


Featured Member
Registered: 09/07/15
Posts: 1
Forum Stats
2158 Members
46 Forums
41462 Topics
76636 Posts

Max Online: 1567 @ 04/25/10 02:20 AM
Top Posters
UGN Security 34624
Gremelin 7193
§intå× 3255
SilentRage 1273
Ice 1146
pergesu 1136
Infinite 1041
jonconley 955
Girlie 908
unreal 860
Newest Members
Herbert_Sherbert, codemauve, Lillysdragon1984, Brewwit, Suri John
2157 Registered Users
Who's Online
0 registered (), 277 Guests and 175 Spiders online.
Key: Admin, Global Mod, Mod
Latest News

  Get Firefox!
Get FireFox!