Click to See Complete Forum and Search --> : I am so lost, Formmail?


Hexfactor
11-13-2005, 10:49 PM
I am very very new to this. I have a form setup on my web page and I have a submit button that is an image. I have this formamil.pl and am wondering if this is for me. I just want people to be able to submit the information to me through an email address after hitting that image.

I will eventually be having this information emailed and put into a database at the same time, and I have been told that this formamail can help me with this.

Is this right for me and is there anyone out there that can either guide me through this. I dont know much about CGI or Perl. any help would be great.

What part of theformail do i have to modify?
Does this replace my current form?
If so how do I use my background colors and put it in where I want it.

Please help. Thank you all.

Hexfactor

Jupac
11-14-2005, 12:10 AM
1.You would need to change the email adress to your own.
2. You need to change the action to action="cgi-bin/fm.pl" (or where ever your script is)

kelly23
11-14-2005, 09:41 AM
What part of theformail do i have to modify?


It depends on the script that you're using and also if it's been pre-installed by your host. If pre-installed by the host, then the path to perl has probably already been set for you. You may need to edit the script to supply email addresses that are allowed to receive mail through the form as well as other things. It's impossible to say without seeing the script. Also if the script has been pre-installed, then it's possible that the permissions have already been set, otherwise you'll need to use your ftp program to chmod the permissions to 755. Sounds difficult, but it really isn't. Using WS_FTP you would select the script, right click | CHMOD(Unix) | check all of the boxes under Owner, and read and execute under Group and Other.

winged1
11-16-2005, 02:03 AM
Hex, your form will be whatever you build with html, with a couple of requirements; you need to include a hidden field 'recipient' who's value will be the email you desire, and the form should 'post' to the .pl script.

Within your script, you will want to specify your domain as the 'referrer', so that the script doesn't think your someone else trying to bounce messages through your script.

Formmail (Matt's) doesn't write the data to a database, but you could easily add in some code that could.

Kevey
11-16-2005, 02:16 AM
Here's a thread on the same subject: http://www.webdeveloper.com/forum/showthread.php?p=446957#post446957

What part of theformail do i have to modify? Depends on what formmail you are using...but generally your email address and a few other fields.
Does this replace my current form? no, it processes your form and takes the input info and puts it into an email that is sent to you.
If so how do I use my background colors and put it in where I want it. NA Hope this helps.