A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

May 23, 2011

writing cgi using C++


I'm writing a C++ program to run it as cgi. I need to receive input, and as I've found out looking up the net, the most fundamental way is to use getenv() from cstdlib.h.

I wanna know if there's any other interface to receiving environment variables, that is made for C++, I mean I look for equivalent of cstdlib.h in C++, IF EXISTS AT ALL.

Thanks. :)

Click Here!