Netbeans Define Variable Type in Comment

This is post is now quite old and the the information it contains may be out of date or innacurate. If you find any errors or have any suggestions to update the information please let us know or create a pull request on GitHub If you use Netbeans for PHP like me (its awesome) and you ever use any kind of function or method to return objects, then you will have noticed that Netbeans’ autocompletion doesn’t work for these variables. Read On →

PHP Detect if Script is running from CLI

This is post is now quite old and the the information it contains may be out of date or innacurate. If you find any errors or have any suggestions to update the information please let us know or create a pull request on GitHub If you have a script that you want to behave differently depending on whether it is called from the command line or via a http request then this little snippet of code is what you need. Read On →

PHP 5.3 Windows Bug + Solution

This is post is now quite old and the the information it contains may be out of date or innacurate. If you find any errors or have any suggestions to update the information please let us know or create a pull request on GitHub Just got a heads up about a bug with PHP 5.3 and windows. I don’t actually use windows but on the off chance that I might in the future for some reason I thought I would make a note of the solution here. Read On →

Integrating Royal Mail Despatch Express

This is post is now quite old and the the information it contains may be out of date or innacurate. If you find any errors or have any suggestions to update the information please let us know or create a pull request on GitHub If you are struggling to understand the Batch Import file layout from the exceptionally sparse details supplied in the “Getting Started” document’s Appendix B which supposedly details the file layout, then this is the solution you need. Read On →

Netbeans Underscores Not Display + Solution

This is post is now quite old and the the information it contains may be out of date or innacurate. If you find any errors or have any suggestions to update the information please let us know or create a pull request on GitHub If you underscores are not displaying properly in Netbeans, there is a very simple solution. Just change your default font by going to Tools->Options and then Fonts and Colours. Read On →

Command Line Fu

This is post is now quite old and the the information it contains may be out of date or innacurate. If you find any errors or have any suggestions to update the information please let us know or create a pull request on GitHub Just discovered this site - some handy little command line snippets there http://www.commandlinefu.com/commands/browse/sort-by-votes for example some SCP goodness. Definitely one I will be using again :)