Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "fcgi_stdio.h"
- #include <stdlib.h>
- using namespace std;
- int main()
- {
- int count = 1;
- while(FCGI_Accept() >= 0)
- printf("Content-type: text/html\r\n"
- "\r\n"
- "<title>FastCGI Hello!</title>"
- "<h1>FastCGI Hello!</h1>"
- "Request number %d running on host \n",
- ++count);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement