From: SourceForge.net <no...@so...> - 2007-07-11 19:17:00
|
Support Requests item #1752164, was opened at 2007-07-11 14:17 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=425770&aid=1752164&group_id=39625 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: 4WardMotion (tyy) Assigned to: Nobody/Anonymous (nobody) Summary: Redirect Issues Initial Comment: I am having a problem with the formmail.pl script and getting my contact form to redirect to my thank you page and not to the default page of the script. Here are the changes that I have made to the script and my html code: BEGIN { $DEBUGGING = 1; $emulate_matts_code= 0; $secure = 1; $allow_empty_ref = 1; $max_recipients = 2; $mailprog = '/usr/sbin/sendmail -oi -t -f mail@cre...'; $postmaster = ''; @referers = qw(www.cre...); @allow_mail_to = qw(mail@cre...); @recipients = (); %recipient_alias = (); @valid_ENV = qw(REMOTE_HOST REMOTE_ADDR REMOTE_USER HTTP_USER_AGENT); $locale = ''; $charset = 'iso-8859-1'; $date_fmt = '%A, %B %d, %Y at %H:%M:%S'; $style = '/css/nms.css'; $no_content = 0; $double_spacing = 1; $wrap_text = 0; $wrap_style = 1; $address_style = 0; $send_confirmation_mail = 0; $confirmation_text = <<'END_OF_CONFIRMATION'; From: mail@cre... Subject: form submission Thank you for your form submission. END_OF_CONFIRMATION HTML Code: <input name="redirect" type="hidden" id="redirect" value="http://www.cre....com/thank_you.html" /> Thank you for your help. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=425770&aid=1752164&group_id=39625 |