PHPExcel Help and Tips
I started using the PHPExcel module for outputting a bunch of results to Excel (or any application that can open Excel, such as Open Office, or Libre Office). One thing…
A bunch of ramblings about PHP programming, JQuery, MySQL and other 'stuff'
I started using the PHPExcel module for outputting a bunch of results to Excel (or any application that can open Excel, such as Open Office, or Libre Office). One thing…
I found that after install MySQL and Apache/PHP – that the database connections didn’t work from PHP. They worked if I tried to connect using the MySQL client though. Must…
I was having trouble with my VirtualHosts here. Some sites worked but some did not. It was down to the sites that use some sort of framework, and by adding…
I was having trouble with my VirtualHosts here. Some sites worked but some did not. It was down to the sites that use some sort of framework, and by adding…
mysql_connect(): A connection attempt failed because the connected party did not properly respond after a period of time Shouldn’t be using these functions anymore anyway as they are discouraged, however,…
You can use the PHP function error_reporting() at run time to set the level of error reporting in your application. The different levels of reporting are based on bit masks…
I recently needed to update a page that dumped a HTML table into Excel – and found it dumped everything, including hyperlinks, buttons, images, etc. This didn’t sit well with…
If you are struggling with a PHP CLI script and the errors are not showing: php -d display_errors <script_filename.php>
I always forget the little bit about error reporting, so here is a step by step guide to getting Xdebug running on you Ubuntu PHP installation. 1) Install PECL (if…
Its fairly very simple to get a changelog from Subversion when you know the revision numbers you are searching for: svn log -v -r3500:4000 http://svn.domain.com/trunk > /tmp/changelogs/4000.log The above will…