Full Version: OT CGI mail, who can help me?
From: Shaddy [#1]
23 Sep 2006
To: ALL
I'm trying to set up a mail form on my site, and I have CGI scripts, but I am unable to make it work from the help pages. Anyone done this before? I can set up a Mailto, but I would rather have it automatically mail instead of that.
I'm quitting for the night, but if anyone has some tips or a tutorial/samples out there...
I keep getting my addresses wrone, or possibly my text files. Who knows at this point.
Thanks
Shaddy
From: Dave Jones (DAVERJ) [#2]
23 Sep 2006
To: Shaddy [#1] 23 Sep 2006
I did it years ago using cgi scripts, but it was far too complicated. It is quite simple to do it using PHP. (assuming the server has a mail server installed, which most do)
The bare bones method with PHP only takes a couple of lines of code. Of course, to add some good security code, to prevent using the form for spamming (a big problem with cgi scripts used for mailing forms) does add a fair amount more code.
A friend of mine has put together a PHP script for people to use with GoLive, DreamWeaver, or just raw hand written pages. He has it at:
http://www.mindpalette.com/formprocessing/index.php
From: Shaddy [#3]
25 Sep 2006
To: Dave Jones (DAVERJ) [#2] 25 Sep 2006
That looks doable for me, thanks a lot. I know a little PHP from messing with my online gallery.
THanks
Shaddy
From: Laser Image (LASER_IMAGE) [#4]
25 Sep 2006
To: Dave Jones (DAVERJ) [#2] 25 Sep 2006
That is really a great resource. I played with the free version for a bit last night and have a pretty nice test page setup. I'll spring for the $15.00 version to support his work and get some of the features that come with the paid version.
I have never created a form page before but it was very easy once I found a website with some samples. I just modified them to fit his special tags and it worked great!
Thanks for the link!
Gary
From: Dave Jones (DAVERJ) [#5]
25 Sep 2006
To: Laser Image (LASER_IMAGE) [#4] 25 Sep 2006