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
Our Sponsors
Sponsor Advertisements help keep UGN Security Online.



Sponsor Advertisements help keep UGN Security Online.

Want to earn prizes for clicking online advertisements? Join Rewards1.com.
Latest Postings
Latest Reviews
Topic Options
Rate This Topic
#17519 - 05/28/02 06: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
Our Sponsors
Sponsor Advertisements help keep UGN Security Online.



Sponsor Advertisements help keep UGN Security Online.
#17520 - 05/28/02 06:22 PM Re: vb and cgi
Gremelin Offline

Community Owner
*****

Registered: 02/28/02
Posts: 7192
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 07: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/01/02
Posts: 505
Forum Stats
2198 Members
46 Forums
24780 Topics
59950 Posts

Max Online: 1567 @ 04/25/10 10:20 AM
Top Posters
UGN Security 17941
Gremelin 7192
§intå× 3255
SilentRage 1273
Ice 1146
pergesu 1136
Infinite 1041
jonconley 955
Girlie 908
unreal 860
Newest Members
Selex, baird, colin, mwilliams1586, kuriousity
2198 Registered Users
Who's Online
0 registered (), 302 Guests and 303 Spiders online.
Key: Admin, Global Mod, Mod
Latest News


Donate
  Get Firefox!
Get FireFox!