Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

What to I need to get started?

Posted on 1997-10-03
1
Medium Priority
?
148 Views
Last Modified: 2013-12-25
What exactly do I need to get started?

I got VisualC++ software..
But I guess that some more things are neeed to get the scripts for the web working...  

And are the extra files avalible to be downloaded from the net for free?..

~Gizmo
0
Comment
Question by:Gizmo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 7

Accepted Solution

by:
faster earned 300 total points
ID: 1830724
You need not anything else.  CGI program is actually very simple, it only requires you to read from the stdin/environment variables, and write output to stdout.  That's it.  If you are unfamiliar with CGI, first you'd better get a book to know what the standard is.  When you know the protocol, writing a program for it is a piece of cake.

In short, you need to get the envrionment variable "CONTENT_LENGTH", the read from stdin that number of bytes, which takes the form of "name1=val1&name2=val2...".  Then you need to a procedure called "unescaping", which means to convert al the "+" to " " and "%xx" to its ascii value.  Now you get all the information sent to your cgi and need to write whatever your output to the stdout.  It must starts with this:       

printf("Content-type: text/html\r\n\r\n");

However, you may need a web server on your desktop so that it is easier for your test, then I suggest you download a free web server from the net (I myself is using microsoft personal web server)

Hope this helps
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Suggested Courses

598 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question