Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it ok to have C or python program to process html form? Though I worked on php and java stuff.what are the disadvantages or advantage of such approach (using c/python)?

share|improve this question
up vote 1 down vote accepted

Its totally fine to write a CGI script in C to have your webserver process forms. Nothing stopping you.

However, for pros and cons, CGI/"web" languages tend to be built around the idea that they are a webapp. They come with functions for dealing with HTML, string manipulation, and database access. However, if you are more comfortable with C, by all means use it. Python is just fine too.

share|improve this answer
thanks,good to hear that :) I'll use C/python where i feel more comfortable. – lakshmipathi Sep 16 '10 at 8:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.