Advertisement
Guest User

Untitled

a guest
Jun 24th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. #include "fcgi_stdio.h"
  2. #include <stdlib.h>
  3. using namespace std;
  4. int main()
  5. {
  6. int count = 1;
  7. while(FCGI_Accept() >= 0)
  8. printf("Content-type: text/html\r\n"
  9. "\r\n"
  10. "<title>FastCGI Hello!</title>"
  11. "<h1>FastCGI Hello!</h1>"
  12. "Request number %d running on host \n",
  13. ++count);
  14. return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement