I couldn’t find something that did just what I wanted and no more: send me an email when someone gets a 404 error on my blog. It seems pretty simple, and it really is. More than that actually. It’s problably the simplest plugin I’ve ever written.
Check it out:
This is the main part of the code, the one gets executed everytime the get_header hook is called. It basically just checks the $wp_query object to see if the current url gives a 404 error and then passes that url to the email_admin function
This function sets some headers for the email, such as the sender’s name and email, and the subject of the message, and then sends the message. No error is shown if the message can’t be sent, as this would be displayed on the page.
To keep learning and progressing in my line of work, you have to be learning new things everyday. The evolution is so fast that if you don’t go forward, you are effectively going backwards.I need ideas of useful apps or libraries to include in this challenge.So, my challenge for 2010 will be to build one web app every month, and publish it here on the last day of each month. My schedule is pretty tight right now, so the apps will have to be rather quick to develop, but hopefuly it will help m...