Results 1 to 8 of 8

Thread: PHP form issue

  1. #1
    Join Date
    Nov 2009
    Posts
    11
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default PHP form issue

    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...g_contact.html

    and its using formmail.php

    Im stuck!

  2. #2
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    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.
    Corrections to my coding/thoughts welcome.

  3. #3
    Join Date
    Nov 2009
    Posts
    11
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by bluewalrus View Post
    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?

  4. #4
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    Your calling the values wrong I'd guess. We'd need to see your php code to be able to help further.
    Corrections to my coding/thoughts welcome.

  5. #5
    Join Date
    Nov 2009
    Posts
    11
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by bluewalrus View Post
    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

  6. #6
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    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.
    Corrections to my coding/thoughts welcome.

  7. #7
    Join Date
    Nov 2009
    Posts
    11
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Its just a blank email with the email address and thats it even though i have info in the fields

  8. #8
    Join Date
    Nov 2009
    Posts
    11
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    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!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •