Ready Made Php Contact Form

Discussion in 'PHP' started by ankitsoldak, May 20, 2008.

  1. #1
    Hi Download Php Ready Made Contact Form


    Please feel free to PM me for any kind of help

    also ask any type of web templates



    Regards ,

    Andy
     

    Attached Files:

    ankitsoldak, May 20, 2008 IP
  2. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #2
    You might want to correct your script a bit.

    $email can contain data that could expoit the headers in the email.

          $name     = $_POST[name];
    
          $email    = $_POST[email];
    
          $company  = $_POST[company];
    
          $phone    = $_POST[phone];
    
          $website  = $_POST[website];
    
          $msg      = $_POST[msg];
    
          $subject  = $_POST[subject];
    PHP:
    Each of those lines will thrown an E_NOTICE.

    There's probably more but I haven't got time to look into it.
     
    jayshah, May 20, 2008 IP
  3. graham23s

    graham23s Well-Known Member

    Messages:
    188
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    105
    #3
    theres no quotes inside the variables to.
     
    graham23s, May 20, 2008 IP