Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems with Re-direct page affecting form submission

Status
Not open for further replies.
Aug 27, 2003
7
US
I have a form:

<form action="/cgi-sys/formmail.pl" method="POST" name="Survey">

Then I have my redirect
<input type=hidden name="redirect" value="
How come if I make that re-direct address" instead of " the form doesn't process. When you hit submit you get a 404 error about not being able to find formail.pl. As long as that surveycongrats.asp is in the main directory, though, all runs smooth.
 
formmail.pl should be in the cgi-bin directory and your asp script is in another directory. You have to use full path names.

There's always a better way. The fun is trying to find it!
 
You probably got a 404 error when you went to the congrats page cause instead of having duplicates of the file I was just moving it around...


tviman - thanks for jogging my memory of something I missed. I put the full path in for the redirect page but NOT for the cgi-bin dir. That fixed it!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top