Test Layouts By Resizing Your Browser Window with JavaScript

Test Website Layouts

Website visitors browse with many different screen resolutions, largely determined by the size of their monitor. You should test your website’s layout to make sure that it doesn’t break of look wrong when viewed using the most common screen resolutions.

So how do you test that? Change your own screen resolution a handful of times to see what happens? There is an easier way, thanks to a little piece of JavaScript!

Continue reading "Test Layouts By Resizing Your Browser Window with JavaScript" »

How to Repair a Crashed MySQL Table

MySQL Tables Can Crash!

I didn’t know until it happened to me recently, but MySQL tables can crash. When one of my tables crashed the first I knew about it was when I tried to browse it using phpMyAdmin and received an error message.

Continue reading "How to Repair a Crashed MySQL Table" »

Online Regex Tester

Ever wanted to test a regex (regular expression) quickly and easily? Now you can!

Continue reading "Online Regex Tester" »

Convert DOCX to DOC Online for Free

Microsoft Word .docx Problem

As of Word 2007, Microsoft Office introduced a new file format (and extension) for Word, Excel, and PowerPoint documents. Prior to this, Word documents had the .doc extension, but new documents end in .docx. This can be a problem if you have a version of Microsoft Word prior to 2007, as there is no support for the new .docx format, and if someone send you a file in this format, you can’t open it!

Continue reading "Convert DOCX to DOC Online for Free" »

New Line (Line Break) in Excel

Ever had trouble dropping onto a new line in Excel? I had tried all sorts of ways to insert a new line into an Excel spreadsheet without success.

Continue reading "New Line (Line Break) in Excel" »

Sending Email with PHP mail() on a Windows Server

The Problem

Sending email using PHP on a Windows IIS server is not as simple as it is when using a Linux server. On a typical setup the mail() function probably won’t work without some tweaking.

Continue reading "Sending Email with PHP mail() on a Windows Server" »

Simple WordPress Speed Optimisation

WordPress is a great piece of blogging software. With very little experience you can have your own blog set up within minutes. However, WordPress does have its faults. One common complaint is that WordPress is slow, and gets slower as more posts are added. Fear not, because help is at hand! One simple change to your .htaccess file can optimise WordPress and speed your blog up dramatically.

Continue reading "Simple WordPress Speed Optimisation" »

Redirect Single Pages with Classic ASP

The Goal

If you have some ASP pages that you want redirecting to new URLs with the correct “301 Moved Permanently” status, this simple solution is easy to implement.

Continue reading "Redirect Single Pages with Classic ASP" »

Essential MySQL Functions

MySQL Functions

MySQL can do far more than just insert, update and select data. In fact the world’s most popular open source database has a whole host of incredibly useful functions built in that you might never know about until you find one day that you need them – and then you wonder how you coped without them!

Continue reading "Essential MySQL Functions" »

Check Your Linux SSH Log To Stop Hackers

Silent Attacks

Your web server may be ticking over nicely and everything looks fine and dandy. However, unbeknownst to you your server could be under constant attack by hackers! How can you find out if this is happening? One of the first things to check is your SSH log.

Continue reading "Check Your Linux SSH Log To Stop Hackers" »