[HTML + PHP] Formmail isn't doing things correctly

zapoqx

Striking Master
Joined
1 Jun 2005
Messages
460
I've been helping someone redo his entire form submission so that it didn't use a cgi method of submission and instead use a PHP method.
First part:
The guide for setting up can be found here:
DT Scripts: Form to email Guide Documentation

Second Part:
The download can be found here:
DT Scripts: Viewing Source for formmail_code/formmail.x.phps

Issue:
I've been trying to use the "redirect" method in the html file. The problem is that no matter what happens, instead of redirecting to the html file that I specify through the use of:
Code:
<input type="hidden" name="redirect" value="thanks.htm">
Instead, it uses the else method of the redirect in the php field by saying "Thank you for your submission"
On top of that, in the e-mail, unless I misunderstood something, the following codes:
Code:
<input type="hidden" name="ar_file" value="/php/autoresponder.txt">
<input type="hidden" name="ar_subject" value="Thank you for your interest!">

Seem to come inside the e-mail of the form recipient (aka the site host specified in the code) and doesn't even try to come to the user's defined e-mail. Instead, in the e-mail to the form recipient, they get no e-mail address for the "from" and they get this appearing in their e-mail at the top:
ar_file: /php/autoresponder.txt
ar_subject: Thank you for your interest!
This is before the proper values appear in the e-mail.

Is there something I might be doing wrong?

Thanks in advance.
 

Members online

No members online now.

Latest profile posts

hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.
Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk wrote on Sazar's profile.
Where are you buddy?
Perris Calderon wrote on Electronic Punk's profile.
Hey EP! All good with me, applying for Microsoft MVP right now, should have done this a while ago.

Notifications don't work, I only found your response by coming back to hunt up some threads, if you want, give me your email address so we can keep in touch easier!

Forum statistics

Threads
61,999
Messages
673,424
Members
5,593
Latest member
moussa021