404 error notification script

Discussion in 'Site & Server Administration' started by cyanide, Mar 13, 2006.

  1. #1
    Does anyone know of a script that does this...

    A person lands on a 404 error page, then an email is dispatched to a designated e-mail address containing the link the person was looking for, as well as the referrer.

    Thanks
     
    cyanide, Mar 13, 2006 IP
  2. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #2
    mad4, Mar 13, 2006 IP
  3. cyanide

    cyanide Peon

    Messages:
    483
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #3
    That's perfect, thanks!

    Wouldn't settle for any less ;)
     
    cyanide, Mar 13, 2006 IP
  4. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I just gave this script a try and suggest only sending the email if($referring_url!=""){ as Norton will stop the referrer headers and you get a pointless email.
     
    mad4, Mar 13, 2006 IP