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
Latest Reviews
Topic Options
Rate This Topic
#17519 - 05/28/02 01:11 PM 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.

Top
Sponsored Links
      
#17520 - 05/28/02 01:22 PM 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

Top
#17521 - 05/28/02 02:15 PM 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: http://server.com/cgi-bin/vbprog.exe
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
http://www.dollardns.net

Top

Featured Member
Registered: 03/02/02
Posts: 136
Forum Stats
2148 Members
46 Forums
35097 Topics
70267 Posts

Max Online: 1567 @ 04/25/10 05:20 AM
Top Posters
UGN Security 28259
Gremelin 7193
§intå× 3255
SilentRage 1273
Ice 1146
pergesu 1136
Infinite 1041
jonconley 955
Girlie 908
unreal 860
Newest Members
Tim050, Gecko666, defghi795767, Devo60, ali
2148 Registered Users
Who's Online
0 registered (), 402 Guests and 268 Spiders online.
Key: Admin, Global Mod, Mod
Latest News


Donate
  Get Firefox!
Get FireFox!