PDA

View Full Version : Need help setting up Formmail


Daven_Port
03-17-2004, 12:38 AM
I have tried to no avail, to setup a contact page that will send the information to an email and redirect to a "thanks.htm" page.

I have posted the form with no actions on it, hoping someone will help me with the correct code.

I have been all over the web trying to figure this out, however, I am not a programmer, so therein lies the problem.

Previously I have tried to create a FormMail.cgi file and placed it in the cgi-bin. I only get errors.

If someone could please help me write, or even write for me, the proper code, I would greatly appreciate it.

Here is the link:
www.menark.com/form.htm (http://www.menark.com/form.htm)

TomD
03-17-2004, 01:09 AM
There is a FormMail example in the HR FAQ (http://support.hostrocket.com/index.php?page=index_v1&c=25) .

In addition the FormMail home page is http://www.scriptarchive.com/formmail.html .

A search of these forums for FormMail related threads gave

this result (http://forums.hostrocket.com/search.php?s=&action=showresults&searchid=10105&sortby=lastpost&sortorder=descending) .

I don't use FormMail myself (I write my own PHP scripts to handle forms) but I know you don't need to install anything yourself it is all pre-installed by HR as the FAQ should point out.

Daven_Port
03-17-2004, 12:05 PM
Well, it helps when you do things correctly.
I was under the impression that I had to edit the FormMail.pl.

My mistake. However, by putting the correct code in the appropriate place does wonders.

Now my challenge is configuring the required fields.

Thanks for your help.

Here is the new page:
contact info (http://www.menark.com/contact4.htm)

Daven_Port
03-17-2004, 12:53 PM
It's working!!!!!!

Check it out:

contact info (http://www.menark.com/contact.htm)

Tom - thanks for your help.

TomD
03-17-2004, 01:00 PM
:)