Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    x64
    x64 is offline
    New to the CF scene
    Join Date
    Jun 2010
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question writing cgi using C++

    Hi.

    I have a cgi program that I'm writing it in C++, and I need to receive data in my program.

    I have 2 questions:

    1. Is there any replacement for <stdlib.h> that is written (upgraded form) for C++, or I have to use this C header in my C++ program and use getenv() function to get environment data?

    2. How can I receive POST data?

    Thanks

  • #2
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by x64 View Post
    Hi.

    I have a cgi program that I'm writing it in C++, and I need to receive data in my program.

    I have 2 questions:

    1. Is there any replacement for <stdlib.h> that is written (upgraded form) for C++, or I have to use this C header in my C++ program and use getenv() function to get environment data?

    2. How can I receive POST data?

    Thanks
    take a look to:

    http://www.gnu.org/software/cgicc/ probably not maintained now
    http://www.rudeserver.com/cgiparser/

    this could be interesting:

    http://www.webtoolkit.eu/wt/
    http://www.boutell.com/cgic/

    both links are from:
    http://stackoverflow.com/questions/3...gi-programming

    best regards


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •