Archive for April, 2009

Due to a few problems with our previous post, we have created a new one with a much better offer. Lateral Code is willing to provide 5 lucky people with a royalty free PSD (Photoshop Display File) to WordPress (or HTML) conversion. All you need to do is send us an e-mail at mail@lateralcode.com OR leave a comment here so we can get in touch.

If you do not yet have your PSD file 100% completed, that’s no problem. We are willing to wait . Just remember to add a comment or e-mail us as soon as possible. Return back to this post for updates on how many free conversions are left.

There comes a time when you need to create a random String. It might be for a verification code, a complex password, or something you are developing. You might think that its a boring and manual process. Luckily, this is not true.

Below we present a simple way to create random Strings using PHP. All you need is one function with a few lines of code. Let’s begin…

How many times have you had to dig through a long, confusing string for information? This has been a common problem for years. What’s the solution? Regular expressions.

What are regular expressions? Well..

Now that you’ve seen that… guess why so many people do NOT program in Perl?

To put it very simply, regular expressions are strings that search for patterns. Patterns can be a few letters or enormous strings with many wild cards. In this tutorial, I will outline some basics of regular expressions (also known as regexes).

Recently, I worked on a WordPress-powered site that required the category pages to show links to the first level of subcategories and the posts filed in the category but not the subcategories themselves.

I couldn’t find any adequate documentation, so I’m putting this here for posterity: