redirect with CGI

They have: 8 posts

Joined: Oct 2001

hi,

my site is hosted by freewebspace.com, who don't allow CGI uploads but they have a decent CGI section. I've adapted / used one of their forms in my site and have managed to redirect the email to my preferred email addy.

However, I want the site to display a 'thankyou' page instead of the status page after a submission. Freewebspace.com say the tag should be:

Filename is file you want to be displayed after send button is hit. They say this has to be relative path so data can be shared with this file, (if you want to display the users name in the thankyou screen for example). All my files are stored at root, enquiry form is at:

http://webworksrus.freewebspace.com/enquiryform.htm

thankyou page is at:

http://webworksrus.freewebspace.com/thankyou.htm

I've tried the above hidden tag using both relative and absolute paths in the value part but neither works. The form still sends but I still get the stats page showing. Any suggestions as to why it ain't working? Why is my thankyou page not appearing? Any help would be much appreciated.

Cheeky Chappie

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

That is the tag you tried? The current version only has
, which will fail because there is no file specified, only a directory.

For more information on using Formmail, try http://worldwidemart.com/scripts/faq/formmail/q3.shtml

Smiling Suzanne

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

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.