For the brave souls who get this far: You are the chosen ones, the valiant knights of programming who toil away, without rest, fixing our most awful code.
PHP {resources}
If you are new to web design but looking to get started… the information out there can be overwhelming. Flash by Z utilizes PHP for its motor on top of a WordPress framework, some JavaScript for functionality, CSS for layout and a MySql database to store content. Here are a few of our favorite resources [...]
Random Header Images in WordPress
Many times in past years I have wanted to display random photos in galleries and/or sidebars, why not do the same for the WordPress header graphics?
Update your WordPress blog’s security
Seriously, I cannot believe I did not think of this…
EXCERPT your WordPress post with MORE
I know many of you utilize a plug-in for the excerpt (abridged) version of your post. There are better ways…
Protect your WordPress Blog -Users
Seems like we may be giving up our blog usernames when posting author links to profiles or simply listing an author archive. If you are building themes in WordPress or simply a user with a standalone install then you may want to read “Protect your WordPress Blog -Users” for a quick and handy tip in [...]
Post WordPress articles on Twitter
Since Twitter launched its services 2006 it became one of the most popular social media networks, which if you’re serious about blogging, you can’t ignore. Keeping this in mind most blogs use some way to post an excerpt of their articles on Twitter using a link back to those articles. There are several ways to [...]
Geotagging and Twitter
In August this year Twitter changed the way you can add statuses to your timeline by using an external script. If you would like to use your own PHP script (for instance) to update your timeline (or to let users update their own timeline) you have to use the OAuth protocol to do so. OAuth is an authentication protocol that allows users to approve application to act on their behalf without sharing their password.
Less known is a feature of the Twitter API that gives only access to yourself to update your own timeline. This is called the “single outh token” method. You can use it to update your timeline everytime you add a new article to your blog. But, did you know it’s quite easy to add your geo-location to your post as well? It’s quite easy to pass on the latitude and longitude together with your status update. You would get something like this:

You will have to register a Twitter application on the Twitter Development Site but that’s quite easy and well documented. You can login here using your normal Twitter account. After having done so you can download the Twitter OAuth Class from Abraham Williams (@abraham). This PHP class does all the work for you. All you have to do is feed it with the information you want in your status update (remember the maximum of 140 characters)
Here’s the code you can use.
WordPress as a content management system
Content Management Systems What does a content management system (CMS) do? It takes chunks of your content and pieces them together into a single HTML page. The other function of a CMS is to provide an easy way for the user to manage all those chunks of content. Managing content does not just mean allowing [...]
PHP Artwork -ImageFilledRectangle
Here is the fourth installment of PHP Artwork. Coming up we are going to build a green box using the ImageFilledRectangle function and then we are going to add a caption to it using the PHP built-in function called ImageString. So stay tuned. Just in case you missed the previous installments: We used the imageline [...]


