Log in

View Full Version : PHP form issue



funktheory
02-04-2011, 05:54 PM
Hi, i have a form on my website which was working fine but for no reason i can see, all of a sudden, i just get blank messages delivered to my email from the form. I have sent a test email to the email address on the form and that gets there fine, all intact, any ideas?

Heres the form itself:

http://www.dominicdeanphotography.co.uk/orig_contact.html

and its using formmail.php

Im stuck! :(

bluewalrus
02-04-2011, 06:06 PM
You didn't put any limitations on it. If a user clicks submit without entering anything or if a robot/spider comes to it and process the form the email will be sent with blank values.

funktheory
02-04-2011, 06:10 PM
You didn't put any limitations on it. If a user clicks submit without entering anything or if a robot/spider comes to it and process the form the email will be sent with blank values.

But even if i type some text in the fields, it still comes back blank to my email?

bluewalrus
02-04-2011, 06:23 PM
Your calling the values wrong I'd guess. We'd need to see your php code to be able to help further.

funktheory
02-04-2011, 06:28 PM
Your calling the values wrong I'd guess. We'd need to see your php code to be able to help further.


Ok many thanks, i have attached the file with the code (i have had to change the file extension from .php to .txt :)

bluewalrus
02-05-2011, 03:25 AM
Did it just mail a message that says "This is a multi-part message in MIME format"? I dont see it inputting any of the data from the form.

funktheory
02-05-2011, 10:48 AM
Its just a blank email with the email address and thats it even though i have info in the fields

funktheory
02-05-2011, 11:22 AM
I had an eureka moment this morning as i could see the preview of the message then it went blank so i disabled my anti virus temporarily and bingo the email came through intact!