Thread: C++ & Cgi

  1. #1
    Registered User
    Join Date
    Jul 2002
    Posts
    24

    Post C++ & Cgi

    Can any one tell me about a simple tutorial to use C++ for CGI programming esp. for collecting user input from a form in a web page.

  2. #2
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    PHP and XML
    Let's talk about SAX

  3. #3
    Registered User
    Join Date
    Jan 2003
    Posts
    9
    The Deitels just published the new edition of C++: How to program and it includes a chapter of CGI programming in C++. They have it in their site for free download, actually it serves as a demo chapter but it is complete. I don't know if it is still available on the web site but I can mail it to you if you give your e-mail.

  4. #4
    Registered User
    Join Date
    Jul 2002
    Posts
    24
    Walco I dont think the files compiled in the pages mentioned by you will run in a Linux server. I have come across some codes where a file compiled in a Win32 compiler runs in a Linux server also, as a cgi programme. But I do not know how to extract user input data from a form in a web page. Perhaps its some 'getenv' command. I need a very simple tutorial to demonstrate this usage.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. CGI program help please
    By Lince in forum C Programming
    Replies: 3
    Last Post: 08-01-2007, 01:31 AM
  2. cgi - c++ returns image
    By terracota in forum C++ Programming
    Replies: 1
    Last Post: 08-04-2004, 09:41 PM
  3. testing a cgi script on my computer
    By Bigbio2002 in forum C Programming
    Replies: 1
    Last Post: 12-14-2003, 07:26 PM
  4. CGI Mailing
    By sean in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 04-14-2003, 09:56 PM
  5. Problem with cgi script - can't rename files
    By bjdea1 in forum C Programming
    Replies: 2
    Last Post: 12-12-2001, 04:09 PM