Solved

What to I need to get started?

Posted on 1997-10-03
1
143 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 100 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

This tutorial will discuss fancy secure registration forms, with AJAX technology support. In this article I assume you already know HTML and some JS. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you mig…
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.
The viewer will learn how to dynamically set the form action using jQuery.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

739 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