Press "Enter" to skip to content

Posts published in September 2010

How to Write Unmaintainable Code

I have come across the following article before and again came across it today, after a revised browse through, I thought I may as well add another link to it on the web for whoever ends up clicking on it! It really is a worthwhile (in a humor sort of…

Captcha Fail!

Hey, thought I’d just post this one incase anybody else sees it and thinks it’s funny. This is not really a very helpful post like most of the others on this site, but HEY! TOUGH! So feel free to smile if you like.. What do you know, a snippet of…

Test IE versions on any machine!

Do you do web development and are unable to test your software in old shitty versions of Internet Explorer? If so then you may want to read on a little bit. Microsoft has got a whole bunch of virtual images you can download for FREE(not a usual Microsoft word) over…

Error 500 php_value .htaccess

I noticed on some server setups I could not do the following inside a .htacess file: php_value upload_max_filesize 250M php_value post_max_size 250M I was getting an error 500 Internal Server Error with the above code in the .htaccess file. What to do to correct this is create a file called…

Windows Directory Tree Never Finishes Loading?

I am running Windows 7 64-bit and since yesterday whenever I open “My Computer”/”Windows Explorer” (-Windows+E) the initial “showing drives” screen is frozen, so I have to use the address bar to navigate to the path I need to go. As you can see in the picture to the left…

CSS background image data: base64?

What the heck is all that Gobbledygook in the CSS? So you have noticed that bit of css that says something like this in the CSS source-code and you have no idea what it could be? url(“data:image/gif;base64,R0lGODlfMAMEAIABAKysrObm5iH5BAEAAAEALAAAAAAwAwQAAAJOhI+py30Bo5y02ouz3rz7D4biSJbmiabqyrbuC8fyTKPOjedHzff+DwwKh8Si8YhMKku6pvOxjEqn1Kr1is1qt7ynV8cNi8fksvmMTiMLAD4=”) no-repeat scroll 50% 0 transparent It is a technique called Data URLs and…

WordPress remove Subscribe to my RSS feed after posts

If you are running WordPress and have noticed a line under all your posts that says: If you enjoyed this post, make sure you subscribe to my RSS feed! ..and if this irritates you as much as it did me, you can remove it by deactivating a plugin called Subscribe…

And then there was Google Instant!

If you have visited the Google.co.uk homepage (Yes, that’s Google UK) recently – since about the 8th of September 2010 then you would have noticed a new search feature Google is pushing called Google Instant. Now what is so nice about Google Instant? It is an ajax type search application…

PHP's typeof – gettype()

Quite often you may need the ability to check what type of data type a variable is. In most programming languages this is possible to do and is usually called typeof(). PHP too has a way to check this, it is called gettype() and it’s so simple to use. All…

When to use SSL?

There has always been quite a lot of heated discussion around the question of when to use SSL and when to avoid it while building websites. I have been asked this question a few times myself and finally thought that it would be good for everybody if I just wrote…