another PHP newb question

Discussion in 'PHP' started by Roar!, Feb 6, 2007.

  1. #1
    I got my first form working today and put together a pretty good website.

    Is there a PHP thing I can put in my code that will email me to let me know someone pressed "submit" on my form???
     
    Roar!, Feb 6, 2007 IP
  2. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #2
    The mail() function can email you from your form processing page. It is hard to say exactly how it would work with your site without seeing the code.

    Checkout the php.net page on mail().

    http://www.php.net/mail

    You can pretty much find all the information you need about any php function at php.net.
     
    jestep, Feb 6, 2007 IP
  3. Roar!

    Roar! Guest

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    The only thing there that makes sense to me is the search bar. But i'll do more research regarding the mail() thingy. google is nifty.
     
    Roar!, Feb 6, 2007 IP
  4. Roar!

    Roar! Guest

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    So I stuck this code
    at the end of my PHP file and learned that that is not how you do it.
     
    Roar!, Feb 6, 2007 IP
  5. krakjoe

    krakjoe Well-Known Member

    Messages:
    1,795
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    135
    #5
    post your original html or a link to it ....
     
    krakjoe, Feb 7, 2007 IP