Help with simple contact form

Discussion in 'PHP' started by dubs89, Jun 21, 2010.

  1. #1
    Everything works but I just don't receive any emails when send it hit. Here is the html and php:

    HTML:
    PHP:
     
    dubs89, Jun 21, 2010 IP
  2. ZeeshanButt

    ZeeshanButt Well-Known Member

    Messages:
    307
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    110
    #2
    did you check your junk folder?
     
    ZeeshanButt, Jun 21, 2010 IP
  3. dubs89

    dubs89 Peon

    Messages:
    231
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes i did :S
     
    dubs89, Jun 21, 2010 IP
  4. ZeeshanButt

    ZeeshanButt Well-Known Member

    Messages:
    307
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    110
    #4
    try this and see what happens.

    <?php
    mail('your email here', 'test', 'test');
    ?>
     
    ZeeshanButt, Jun 21, 2010 IP
  5. dubs89

    dubs89 Peon

    Messages:
    231
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    That worked to send me the mail! But now how do I go about getting everything under "$allowedFields" Sent to me? Here is the new php code;

     
    dubs89, Jun 21, 2010 IP
  6. ZeeshanButt

    ZeeshanButt Well-Known Member

    Messages:
    307
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    110
    #6
    ok. I will fix this later and send you updated code.
     
    ZeeshanButt, Jun 21, 2010 IP
  7. dubs89

    dubs89 Peon

    Messages:
    231
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    That would be awsome! Thanks!
     
    dubs89, Jun 21, 2010 IP