-
February 5th, 2008, 12:43 AM
#1
Member
executing CGI programs using C++
I am currently trying to write a simple web server program in C++. The only problem that I have come across, so far, is that I would like my web server to be able to execute CGI (Common Gateway Interface) programs, but I'm not sure how to accomplish this.
I know that I need to be able to execute the CGI program and some how redirect the output of this program back to the network connection. I am thinking along the lines of using the exec system calls (execlp, execvp etc.) in some way.
If anyone could offer me some ideas, I would greatly appreciate it.
Thanks in advance,
user0182
Similar Threads
-
By el-half in forum Code Review
Replies: 4
Last Post: June 23rd, 2004, 08:17 AM
-
By slick8790 in forum Miscellaneous Security Discussions
Replies: 12
Last Post: December 13th, 2003, 09:34 AM
-
By -DaRK-RaiDeR- in forum Newbie Security Questions
Replies: 9
Last Post: December 14th, 2002, 08:38 PM
-
By R0n1n in forum *nix Security Discussions
Replies: 3
Last Post: November 20th, 2002, 02:20 PM
-
By Ennis in forum The Security Tutorials Forum
Replies: 4
Last Post: November 15th, 2001, 07:42 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|