Thread: Free web host compatible with C cgi scripts

  1. #1
    Registered User
    Join Date
    Aug 2002
    Posts
    109

    Free web host compatible with C cgi scripts

    Does anyone know where I can get a web host from which is compatible with C cgi scripts??

    Thanks
    OS:- XP
    Compiler:- MSVC++ 6 or DJGPP or Dev-c++ (Mingw)

  2. #2
    Just a Member ammar's Avatar
    Join Date
    Jun 2002
    Posts
    953
    What are C CGI SCRIPTS?
    I've never head of it.
    Are they different from CGI SCRIPTS.
    none...

  3. #3
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,212
    You can write CGI scripts in C, although they wouldn't technically be Scripts, they'd be programs. I suppose they would run faster being pre-compiled and everything.

    i.e.
    Code:
    #include <stdio.h>
    
    int main(void)
    {
      printf("Content-type: text/html\n\n");
      printf("<HTML><BODY>Hello</BODY></HTML>\n");
      return 0;
    }
    should work if it is compiled and set up right in the same way a similar perl script would work. But I don't know where to find a server which supports this. If you really need it, just download and run apache and set it up yourself.
    Last edited by Brian; 12-30-2002 at 11:23 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. best web host in the world?
    By iain in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 12-03-2002, 07:52 AM
  2. free web host with php?
    By Xterria in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 08-22-2002, 02:25 PM
  3. Free Web Page Design Templates
    By Nutshell in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 07-01-2002, 05:59 PM
  4. free web hosting
    By stautze in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 06-25-2002, 06:31 PM
  5. Free MIT courses via web.
    By Justin W in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 11-15-2001, 09:41 PM