Link to home
Start Free TrialLog in
Avatar of Zarakin
Zarakin

asked on

Change in FormMail.pl's handling of forms

I have been running Matt's FormMail.pl for a while now and it has worked fine.

But now it won't redirect to a thank you page or it won't use the internal thank you page. If I try redirecting, after submitting the form i get this in the browser: "Location: http://address_to_thankyou_page.html" . If do not use redirect, I get the default "thank you" in the script - NOT as a html-page but as source code.

I'm on a 2003 Web Edition server with IIS 6 and Active Perl installed.
Avatar of Adam314
Adam314

Anything in your log files?  Error and/or access log?
Avatar of Zarakin

ASKER

Can't see anything in the perl error.log which is the only one I found.

But I think my problem is related to upgrading to a more secure version of formmail.pl that doesn't allow cross-scripting. The tag "Location:" is there in the script in if-else statement. If no redirect, then print the default thank you page... But either i get the "Location:thankyou.page" or the default page printet to the screen in html.
ASKER CERTIFIED SOLUTION
Avatar of Adam314
Adam314

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial