Forums
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Try posting it at http://www.pastebin.com then giving us the link.
Here you go, thanks for your patience!
Got it.
OK, it has to do with your enctype. Lemme get an example mocked up for you.
I appreciate your time guy.
This is the smaller of the two forms I’ve employed.
Sorry for the mess I’ve made of the coding, looks pretty embarrassing in pastebin
Heres the example i just mocked up.
http://dev.wovenland.com/justaguy/
PS. I’m not capturing any of the entered data. I promise.
Lemme know if that works. I will send you the code.
Yea, it’s the php code that interests me atm. :)
here you go.
Its not just your PHP code. your enctype (which ive never declared before in a form) is wrong apparently.
This line in your HTML form should have the “multipart/form-data” as the ENCTYPE
OK! Wow! I’m going to take it for a spin in a few shakes.
Thanks, I’ll report back …………
Hey dhechler
Here’s is how I modified it, more than likely it me, but I am getting a 404 error, and no email sent from site to my mailbox.
Changes made include:
copy/paste new enctype in form html
$subject line string
Sheaders .= ‘From: My Site
and then everything below that, which is success page html
Previously I was getting the success page in addition to a “no data capture e-mail”
I’ll be home in 10. I’ll look at it soon.
You forgot to close your PHP bracket
?>
after
mail($to, $subject, $message, $headers);
//Send them back to the form page with a success message.
// From here is the html to the success page after e-mail was $theResults = <<< EOD