The Benefits of Using Hooks Instead Of Plugin-Specific Functions

September 21st, 2008

Lets talk about that plugin-related code you have to put in your theme files when you want to add something nifty to your blog, like a “Related posts” feature or AdSense ads. It occurs to me that most plugin authors have been handling this the same way – you get a custom function that you […]

Continue Reading...

Google Chrome vs Opera – JS Speed Test

September 3rd, 2008

With the recent release of the Google’s Chrome browser lots of sites have jumped on it and started churning out reviews. However, most reviews focus on Chrome vs Firefox – for example, I have already seen no less than three articles discussing whether Chrome’s brand new JavaScript engine is really faster than the one used […]

Continue Reading...

Yay, WordPress 2.6 Is Out

July 15th, 2008

I’m sure you know why I write this. A new version of WordPress is out, and I’ve upgraded this blog immediately. So here are the mandatory first impressions (nope, I don’t use SVN betas). Just conforming with the unquestionable avalanche of review-style posts that have appeared, with more no doubt being written right now. Right […]

Continue Reading...

How To Get Redirect URL In PHP

July 5th, 2008

HTTP redirects usually have the response status 301 or 302 and provide the redirection URL in the “Location” header. I’ve written three complementary PHP functions that you can use to find out where an URL redirects to (based on a helpful thread at WebmasterWorld). You don’t even need CURL for this – fsockopen() will do […]

Continue Reading...

How To Create a MySQL Database In cPanel With PHP

June 24th, 2008

A PHP class that uses cURL to log in to cPanel. Can create MySQL databases and users, add users to databases, list existing databases, and more.

Continue Reading...