You are here: Re: about CGI « HTML « IT news, forums, messages
Re: about CGI

Posted by J.O. Aho on 08/16/07 17:08

joker wrote:
> I don't know Perl to build a CGI script but I know C++. I need to
> know how the server use a "file.exe" and the html page from the client
> browser. In C++ the data I need to consider is stored in arrays or
> variables. The html page inside the server how is stored? How a
> CGI .exe can find that data?

You will have a cgi directory on your server (you may to configure that
yourself), this is where you place cgi scripts and binaries.

The cgi has to generate the data that is sent to the user, this includes even
the mime type header (if you forget this, your cgi will not work).

If I remember it right (it's like 7 years ago), the incoming data is read from
the $arg array in main(). Data you store within the program is all up to you.

Here is a good place for you start looking for more information:
http://www.google.com/search?q=write+cgi+c%2B%2B&sa=Google+Search&filter=0

--

//Aho

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация