Mastodon

HOW TO: Disable Deprecated Function Notices in PHP

Here’s a quick tip on how to disable notices like this one appearing on your site: Deprecated: Function eregi() is deprecated in… At the top of your application (bootstrap or index file) just add the following line of PHP: error_reporting(E_ALL &...

CCKW Text-To-Speech (TTS) jQuery Plugin

David Walsh (colleague and web developer) has launched his new Speech Recognition system.  It’s currently available as a jQuery plugin but he has promised that version 2 will bring a full featured API. What can you do with it? The TTS plugin can read out any...

HOW TO: Catch PHP Errors and Warnings

This morning I was faced with an issue with SwiftMailer where the PHP code was throwing an error message as it failed to connect with the mail server. To solve it I first thought of using a try/catch, but obviously that wouldn’t work due to the fact that the...

Why you should always test your design!

AutoTrader is probably the biggest resource available for when it comes to car sales around the UK. Their website has never been too bad, and people were able to use it nicely, without much hassle, and no doubt great bargains were had, and huge profits made by...