Contact, Formmail.pl problems... need help

ah yea, works with your success page.
just not mine.

I have alook why. :)

change

# Include message in the success page and dump it to the browser

$SuccessPage = '<html><head><title>Success</title></head><body>Form submitted successfully. It will be reviewed soon.</body></html>';

$SuccessPage = str_replace('<!--FIELDVALUE:redirect-->', $FTGredirect, $SuccessPage);
$SuccessPage = str_replace('<!--FIELDVALUE:recipient-->', $FTGrecipient, $SuccessPage);
$SuccessPage = str_replace('<!--FIELDVALUE:subject-->', $FTGsubject, $SuccessPage);
$SuccessPage = str_replace('<!--FIELDVALUE:Name1-->', $FTGName1, $SuccessPage);
$SuccessPage = str_replace('<!--FIELDVALUE:Emaill-->', $FTGEmaill, $SuccessPage);
$SuccessPage = str_replace('<!--FIELDVALUE:subject2-->', $FTGsubject2, $SuccessPage);
$SuccessPage = str_replace('<!--FIELDVALUE:sub0-->', $FTGsub0, $SuccessPage);
$SuccessPage = str_replace('<!--FIELDVALUE:Why0-->', $FTGWhy0, $SuccessPage);
$SuccessPage = str_replace('<!--FIELDVALUE:Submit0-->', $FTGSubmit0, $SuccessPage);

echo $SuccessPage;
exit;
?>


to

# Redirect user to success page

header("Location: http://www.cezarewhite.com/Form/thankyou.html");
exit;
?>

and try it

keep original saved though
 
lol.

I only added your code above into the contact php.
I have alook what im doing wrong.

I dont have msn installed.

Dont worry about it Red ;)

I try and work it out sometime in the week.
you pointed me in the right direction though.

Thanks for your time.
I keep you updated ;)
 
just delete what ive sent you and i will send it again because the emails are coming to my work email, which isnt good.

yea I have dont. deleted the files on the sever.
Im guessing there still on there somewhere.

But I have deleted yours and placed my old ones back.
I try and get it to work with the FormMail.

I think your still getting ones I submitted when we was testing it.
think It was your Contact.php and Form. (dunno)

You should stop getting them now...
 
yea I have dont. deleted the files on the sever.
Im guessing there still on there somewhere.

But I have deleted yours and placed my old ones back.
I try and get it to work with the FormMail.

I think your still getting ones I submitted when we was testing it.
think It was your Contact.php and Form. (dunno)

You should stop getting them now...

if you still have the index.htm file i sent you use it with the php that i just sent.

it defintley works

sorry if i havent helped. i always use php and im not great at perl.
 
Dont worry you have helped.
Just need to work out FormMail as It was setup for that.

so its probably causing problems with the php you sent.
I deleted your files, so you should get any more.

I try and work it out.
If I cant get FormMail to work. I'll look into php forms.

if you get any more emails. let me know.
cheers.
 
Back
Top Bottom