mailform-setup

merlin's picture

They have: 410 posts

Joined: Oct 1999

hi there
i'm trying to set up a script for a mail-form, but i always get some error...
now my question:
- which files need what permissions?
- where do i specify the url of the script (in the html-form)? is it right there:
<form name="FormName" action="../cgi-bin/FormMail.pl" method="GET">?

i use FormMail 1.6 from http://www.worldwidemart.com/scripts

i'm a absolute beginner in setting up scripts, just learning by doing...
so, thnx for helping!
alibababa

They have: 334 posts

Joined: Dec 1999

It's tough to set up a script for somebody else, but here are some things to check:

1) Make sure the script itself is chmod-ed to 755 after you upload it.
2) Make sure the first line #!/usr/bin/perl
is the correct path to Perl on your server.
3) Check that the line $mailprog='/usr/lib/sendmail' is the correct path to sendmail on your server. It could be '/usr/bin/sendmail' or something similar
4) Change the line:
@referers = ('worldwidemart.com','206.31.72.203');
to
@referers = ('yourdomain.com');

They have: 152 posts

Joined: Dec 1999

everything Maverick said is true, and make sure you set the "recipient" thing to your email address. That part is very key.

If none of that worked, then re-read the ReadMe file (thats a tongue twister) and make sure you set all the variables. I have formail 1.6 running on my site.

------------------
-RJ D'Angelo
D'Angelo Web Design

http://www.dangelowebdesign.com

merlin's picture

They have: 410 posts

Joined: Oct 1999

hi there
it doesn't work yet, but i think i'm on the right way now. i keep tryin' 'till the end...

thanks!

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.