Skip to content

Recent Blog Posts

  • On Dreams and Prizes

    #photography

    Thanks to the efforts of over a thousand people, my friend Tom Storm placed third in the Name Your Dream Assignment contest. He won a new Lenovo laptop with a Wacom tablet built in and a second monito...

  • Passing Email Addresses in URLs With CodeIgniter

    #PHP #configuration #security #CodeIgniter

    CodeIgniter has some handy security features that sometimes get in the way. One such feature is URI scrubbing for disallowed characters. There are probably more secure ways to tell a script what email address to use than to pass it directly via URI. I'm using this for a simple intranet application to manage email recipients for a UPS & FedEx tracking emailer. So it is not important to cloak the email address being passed. Make sure this method is right for your project before you use it. It can expose email addresses to being indexed by spam bots or intercepted by hackers. Note: Ian Huet has provided a great solution using jQuery's AJAX functionality to pass the email in a POST request which bypasses the issue covered in this article entirely. Find it in the comments.

  • Basic Cryptography With PHP - shift and unshift

    #PHP #cryptography #Code

    I just started reading Dan Brown's, "Digital Fortress" which is an excellent read so far. Early on in the novel, we are introduced to some very basic cryptography. Nothing like the FBI Cryptography Challenge, mind you. This is much simpler. So, what is the cypher? It's simple. Just shift each letter of the "clear text" message by minus one. So, 'a' becomes 'z', 'b' becomes 'a', 'c' becomes 'b', and so on. First, we'll need a script to encrypt the message. We'll also need a script to decrypt the message just for good measure. So I give you, shift.php and unshift.php.

  • New Business Card

    #business #design #marketing

    I'm working on the design for my new personal business card. Please, let me know what you think. I want to know your ideas. Business Card - White on Black with PHP Code...

  • Twitter Tools Doesn't Display Recent Tweets

    #tutorial #Twitter #Tools #WordPress

    Is Twitter Tools not working for you? Maybe you downloaded Twitter Tools through the Wordpress UI? Perhaps the 'activation' didn't work out properly and the local cache database table wasn't created. At this point, the installation is broken. Don't worry, it isn't that hard to fix. All we have to do is set up the ak_twitter table in the database. Keep reading for the how-to.