Technically, c is not a scripting language, but a compiled language. So you'd need to compile it first and then you can put it on a web page. There are a couple of ways to do it. You could call the compiled program through the PHP function exec(), or you could just run the program through CGI--see this page for examples of how to do so. http://www.cs.tut.fi/~jkorpela/forms/cgic.html Just a quick note: if you're on a shared host, chances are they don't support the use of gcc due to security reasons.
Use servers programs that support C programming language. http://ws.apache.org/axis/cpp/index.html Peace,