Form trouble

They have: 47 posts

Joined: Jun 2001

Can anyone help me with this form?
All the html looks fine but it won't work...
http://ink-price1.com/remove.htm

I have tested the formmail script and it is working fine but for some strange reason, this form won't work. Any ideas?
thanks
Mizzy

mairving's picture

They have: 2,256 posts

Joined: Feb 2001

It looks like it is trying to post to a page that is not there. The formail script should be in http://ink-price1.com/cgi-bin/formmail.pl .

They have: 47 posts

Joined: Jun 2001

http://ink-price1.com/cgi-bin/formmail.pl is there.It is a simple form mail scripts.
I am sure the script is working because I have it working on other sites with the same code setup

The Webmistress's picture

She has: 5,586 posts

Joined: Feb 2001

You just have it as action="cgi-bin/formmail.pl" adding the http: bit before it can sometimes make all the difference. Otherwise is this on the same host/server as the ones you have used it on before?

Julia - if life was meant to be easy Michael Angelo would have painted the floor....

They have: 47 posts

Joined: Jun 2001

I use it here to.. http://ink-price1.com/embroidery2go/contact.htm
Same script same server, same format.

Brian Farkas's picture

They have: 1,015 posts

Joined: Apr 1999

It looks like you might have formmail setup incorrectly... When called from the browser, this is what FormMail SHOULD look like:
http://www.intersurge.com/cgi-sys/formmail.pl

Try re-installing formmail (make sure you upload in ASCII mode and chmod correctly) and see if that resolves the problem.

They have: 47 posts

Joined: Jun 2001

Reinstalled it twice... ASCII mode upload....tried CHMOD 755 and 777. I guess I will just try redesigning the page...line by line...what a pain.

Brian Farkas's picture

They have: 1,015 posts

Joined: Apr 1999

Well, as I mentioned, it looks like a problem with how the script itself is setup... It's displaying the results page when called from a web browser -- something that it definitely should not do. Can you test it on another server and see if it works?

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.