Donate SIGN UP

Web site forms

Avatar Image
chrisatkin | 18:11 Thu 18th Jan 2001 | Technology
1 Answers
I run a website. And I need a form. At the moment I have it through a different website, and it has loads of adverts on it. In my java script book it says i need a .cgi. What is this and what do I type in it? Also, I have a form but I need to do some calculation for the user. What script do u write to do this as well?
Gravatar

Answers

Only 1 answerrss feed

Best Answer

No best answer has yet been selected by chrisatkin. Once a best answer has been selected, it will be shown here.

For more on marking an answer as the "Best Answer", please visit our FAQ.
It depends on what exactly has to be done with the form. Javascript may be enough to perform the calculation and return a result. a cgi file is essentially a file that processes the form and returns formatted results. In order to use a cgi file your web server must support cgi-script. the cgi file is (normally) stored in a directory called cgi-bin which allows scripts to execute. In order to determine what 'script u write to do this' you will need to expand on what the function of the form is and the result you wish produced.

Only 1 answerrss feed

Do you know the answer?

Web site forms

Answer Question >>