by Craig Mayhew

Tweets Backup Script

So I wanted to backup and archive my tweets. I threw together this quick and dirty script to retrieve the last 200 tweets of a twitter user (In this case, me).

Latest source code available here: …

Automatically reboot minecraft on crashes

The latest version of minecraft has been extremely unstable for me, so I've written this quick script to automatically check if minecraft is running - and reboot it within 30 seconds if it isn't. You will need php…

PHP email validation using regex

I keep seeing PHP where the programmer has written a regular expression to validate an email address.

Don't do that! Use the filter_var() function that php comes with out of the box.

$emailAddress =…


Back from phpuk2010 and feeling like I really want to contribute to some open source projects! I'll summarize the main points I took away from each of the talks I attended.

Josh Holmes - Keynote talk - The Lost Art…

PHP UK Conference 2009

Wow, that was worth the wait. I don't think I've ever picked up so much knowledge in one day since college. Great organization and an all round brilliant day!

Here's a summary of the talks I attended but I…

page_titlePHP   page_titleTweets   page_titleScript   page_titleTwitter   page_titlePHP   page_titleMinecraft   page_titlePHP   page_titleValidation   page_titlePHP   page_titlephpuk2010   page_titleMySQL   page_titleCoucheDB   page_titlephpuk   page_titlewindows   page_titlePHP   page_titleAral Balkan   page_titleSoria Parra   page_titleSharding   page_titleSabastian Bergmann   page_titleHank Janssen   page_titleMihai Corlan   page_titleChris Shiflett   page_titlePHP2009   page_titlephpuk  

© 2018 Craig Mayhew