Click to See Complete Forum and Search --> : CGI scripting to submit a form, help please.
99ws6
06-28-2007, 12:19 PM
I have created a form to submit contact information back to an email account and I know that I need CGI script to accomplish this. I have no clue how to write this script. I want all of the information on the page sent to an email account when the user hits the submit button. I can post of the source code if it is needed to create the script. If anyone could help me out with this I would really appreciate it. Thanks, Matt
chrisranjana
06-28-2007, 12:36 PM
If you are really specific about using CGI (I assume perl) then try http://www.scriptarchive.com/formmail.html otherwise there are many PHP scripts available which could do the job.
99ws6
06-28-2007, 12:41 PM
I downloaded formail and I really don't know what I am doing with it. Is there any other way to accomplish this?
drhowarddrfine
06-30-2007, 10:40 PM
If you are really specific about using CGI (I assume perl)Why Perl? CGI is an interface and not language specific. I use CGI with C. I've used assembly language with it, too. Any language works with CGI and most people do in one way or another.
chrisranjana
06-30-2007, 10:49 PM
Correct you can use any language as CGI.
But I assume that you can use other languages as CGI only if you have your own dedicated server etc or have access to configure apache directly and normally general hosting providers do not allow any other language to be used as CGI other than perl.
So perl being the most widely used language for CGI I assumed it to be perl.
PHP too can be installed as CGI and not as module.