Click to See Complete Forum and Search --> : CGI for a newbie
MstrBob
12-14-2003, 09:08 PM
Okay, so I'll readily admit. I know absolutely nothing about CGI except that it is a programming code. With that out of the way, on to my problem. I am working on a website and am trying to implement a form. I needed the information emailed to me, so I turned to cgi as being the best method of doing so. I have downloaded a script called FormMail.pl , placed it in my CGI-Bin, set my form action to the file, and placed the required hidden input tag stating my address. The tricky part? I have to modify the script, 2 variables it said. One was my websites address and IP which I filled in, the other was my sendmail program. Sendmail program??? Did I do everything right??? Someone help me. This is the form's address: http://www.ourladyofpity.org/registration.html
Phil Karras
12-26-2003, 03:27 PM
If your ISP provider allows you to send e-mail then it has FormMail.pl, or something like it, already available.
No ISP I know of would allow you to install your own copy of an e-mailling program because they would not trust you to do it correctly to keep out spammers. They have enough problems with their own programs without having to watch what you're doing.
So that said, ask your ISP where their e-mailling program is, how to call it, and how to use it correctly. Also, ask them for any security hints they might have and then use them!
Jeff Mott
12-26-2003, 10:05 PM
I know absolutely nothing about CGI except that it is a programming codeActually, CGI is an interface, not a programming language. ;) Perl is the most common programming language to write CGI based applications.Sendmail program???This is a program that should reside on your server. As Phil Karras said, you'll have to check your server's documentation for the correct path.