?
Solved

What to I need to get started?

Posted on 1997-10-03
1
Medium Priority
?
147 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

Use Filtering Commands to Process Files in Linux

Learn how to manipulate data with the help of various filtering commands such as `cat`, `fmt`, `pr`, and others in Linux.

Question has a verified solution.

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

It is becoming increasingly popular to have a front-page slider on a web site. Nearly every TV website,  magazine or online news has one on their site, and even some e-commerce sites have one. Today you can use sliders with Joomla, WordPress or …
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

777 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