This was a bit of a ridiculous error. It occurred after a PHP upgrade to 5.2.17 running under Apache with
Continue readingTag: php
PHP – Obtain the maximum allowed file upload size
This was actually remarkably difficult to do, in terms of the volume of code required. It uses the fact that
Continue readingReading a signed 64 bit integer from a file with PHP
This may be a ridiculous way to do this but I couldn’t think of anything better at the time of
Continue readingParsing a darkstat database with PHP
This is something I wrote for the sake of interest more than necessity but I have found it quite useful
Continue readingRandomising the order of posts in WordPress
Just before ‘the loop‘ of a WordPress site, you would normally use query_posts(). Not only does this set a global
Continue reading