Robertprice - robertprice.co.uk - Robert Price

Latest News:

Using Disqus On WordPress Behind A Proxy 19 Jul 2013 | 03:37 pm

I had to implement the Disqus Comment System WordPress plugin on a website that will be located behind an outgoing proxy server. By default the Disqus WordPress plugin does not support proxies, so it ...

Allowing Apache To Write To The Vagrant Directory 26 Jun 2013 | 01:33 pm

I had a problem with a website I was developing in Vagrant where the site neeeded to write out to the /vagrant directory (well actually a symlink that pointed there). Apache doesn’t have permission t...

InnoTab 2 Video Conversion 18 Feb 2013 | 01:42 am

VTech Innotab 2 video conversion isn’t hard, but getting those settings right the first time can be, so I thought I’d share how I managed it. The InnoTab 2 needs videos to have the following settings:...

POSTing JSON To A Web Service With PHP 1 Feb 2013 | 12:54 pm

I needed to POST JSON formatted data to a RESTful web service using PHP earlier, so I thought I’d share my solution. There are a couple of approaches that could be taken, using the CURL extension, or ...

jQuery To Scroll To A Specific Element 1 Feb 2013 | 12:39 pm

I thought I’d share a useful snippit of jQuery code for scrolling to a specific element on a page. [crayon-51677ce837473/] We use the .animate() method to scroll to the top of #element, over a period ...

Using SQL Server ntext Columns In PHP 22 Jan 2013 | 10:54 pm

I had to connect to a SQL Server database from a PHP script earlier, and I came across an error I wasn’t expecting. My SQL was working fine, until I tried to select one particular column, it would the...

Unit Testing JavaScript With QUnit And Phing 6 Dec 2012 | 02:45 am

Recently I’ve been using both Phing for my PHP builds, and QUnit for my JavaScript unit tests, so I’ve been looking for a way to run these QUnit tests when Phing builds my application. By default Phin...

Using QUnit To Unit Test JavaScript 29 Nov 2012 | 02:47 pm

In this article I wanted to give you an introduction to unit testing in JavaScript using QUnit. QUnit was originally developed by John Resig for testing jQuery, but it is now a stand alone project, wi...

Using Phing To Deploy A PHP Project 22 Nov 2012 | 03:48 am

Deploying a PHP project to a production or even a staging environment isn’t always as simple as copying a directory. One project I have been working on recently has benefited from using Phing as a dep...

UTF-8 Aware Cron Scripts 21 Nov 2012 | 01:13 am

I’ve recently been having a spot of bother with UTF-8 data in a Perl script on an old linux box. Specifically, I have been importing data from a RESTful service that includes the name Michael Bublé. T...

Recently parsed news:

Recent searches: