What, who, where am I?!?
Craig Lotter is a web developer based in Gordon's Bay, South Africa, who seems completely incapable of shaking off that pesky inner child within, the one that forces him to love all things animated or hand drawn.
The Rugged Rock of Craig contains snippets of his life, popular culture and all the important things like anime, manga, games and comic books. The CodeUnit of Craig on the other hand contains the more serious stuff like code snippets and tutorials, while the House of C chronicles his foray into the world of web comics.
For which it never seems he has enough time anyway.
CodeUnit Post Archive
Rugged Rock Studio
Author Archives: Craig Lotter
PHP and PHPMailer: How to Check if Your Mail Send Failed

PHPMailer is a great little mail sending workhorse class for PHP, widely expanding on the regular PHP mail() function and particularly easy to make use of, making it a personal favourite of mine. Anyway, to check whether or not your … Continue reading
How to allow File Uploads when using jQuery Mobile

With the release of the powerful jQuery Mobile 1.0 framework, it is now becomes possible for pretty much anyone to crank out an uber slick HTML 5 website that looks like a ‘native app’ on just about any mobile device. … Continue reading
Posted in jQuery, jQuery Mobile
Tagged ajax, data-ajax, file upload, form, html 5, html5, jQuery, jquery mobile, mobile, mobile device
Leave a comment
JavaScript: Grab a part of a String with the Substring Function!

Considering I work with PHP day in and day out, it is no wonder that I completely forgot that JavaScript also comes up with its super handy substring function, for when you need to grab only a specific part of … Continue reading
Posted in Javascript
Tagged javascript, javascript method, partial string, string, string extract, substring
Leave a comment
HAckEd! The Aftermath

Wonderful, just wonderful. So my online presence was completely down for well over two days at the start of this week, and no, that never points to something good. The reason? Some silly twit hacked my hosting account for the … Continue reading
Posted in Blogging
Tagged amplehosting, attack, hack, hacked, injection, script kiddy, web hosting
Leave a comment







