PHP Setting Error Reporting at runtime
You can use the PHP function error_reporting() at run time to set the level of error reporting in your application.…
Convert HTML table to Excel XLS
I recently needed to update a page that dumped a HTML table into Excel – and found it dumped everything,…
PHP CLI script – show errors
If you are struggling with a PHP CLI script and the errors are not showing: php -d display_errors <script_filename.php>
Installing Skype on Centos 6
Taken from http://linuxinternetworks.com/applications/how-to-install-skype-on-centos6-rhel6/ Run update and install wget yum update yum install wget Install the dependencies and download the skype for…
How to transfer files over SSH/SCP
I often forget the syntax for getting files over a SSH connection. scp user@address:/path/to/file /path/of/new/file For example: scp root@domain.com:/tmp/mysql/test.sql .…
MyODBC and Access – Urgh
Well. I have had to sort out a report for someone who likes using Microsoft Access. We use the MySQL…
Install Xdebug on Ubuntu
I always forget the little bit about error reporting, so here is a step by step guide to getting Xdebug…
Select All but in jQuery
Say you want to use a selector to select all controls with a certain class, apart from a particular one.…
MySQL Rename Field
To rename a field, there are loads of examples and different syntax on the web, so I thought I would…
Error – Sky Go is not supported on Jailbroken devices
I had this whilst trying to read the latest news on Sky Sports News the other day. Very annoying, as…