'Instant Notify' Feature?

Discussion in 'Programming' started by lokielookies, Dec 31, 2007.

  1. #1
    Hi

    I would like to add an 'instant notify' feature to a script I'm using.
    In other words: I want to be notified (by email) whenever there's a change to the site (i.e. when a visitor has added content)

    Is there some snippet or piece of code I can use that makes this happen?

    Greetz!
    Mieke
     
    lokielookies, Dec 31, 2007 IP
  2. -Hammad-

    -Hammad- Peon

    Messages:
    37
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What kind of language is it in?
    PHP? HTML? etc...?

    Regards,
    -Hammad-
     
    -Hammad-, Dec 31, 2007 IP
  3. Barti1987

    Barti1987 Well-Known Member

    Messages:
    2,703
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    185
    #3
    Where ever is the form processing occurs in your code for your site add under:

    
    mail('me@gmail.com','Change for X something','Change');
    
    PHP:
    Peace,
     
    Barti1987, Dec 31, 2007 IP