Archives for January 2013

Linking PHP includes used in files triggered by cron jobs

This is more of a reminder than a tutorial, when using PHP Includes in files triggered by CRON jobs you cannot use the normal relative links in your include or require statement you have you include the full server path to the file.

To do this you can use __DIR__ if the version of PHP you are running is greater than 5.3 like so:


<?php require_once(__DIR__.'/path/to/directory/file.php'); ?>

jQuery Mobile 1.3.0 Beta Out

jQuery Mobile 1.3.0 Beta has just been released. Find out more here and download and have a play with the new features.

Coventry City vs Preston North End – Johnstone’s Paint Trophy Area Semi Final

Well what a night. In recent years having gone 2-1 down after taking the lead from an excellent finish from Steven Jennings we would have rolled over and had our tummies tickled but this new city side is made of sterner stuff under the stewardship of Mark Robins.

The introduction of Franck Moussa in the 74th minute gave us a little more impetus going forward and our pressure finally told in the 92nd minute when Moussa’s cross fell to Jordan Clarke on the right hand side of the box and his deft little touch gave Carl Baker the chance to power home at the near post through the keepers legs to level the tie and then Leon Clarke sent into sky blue heaven by winning it in the last minute after their keeper could only parry Bakers shot back into his path.

So now we progress to the area final to face either Crewe or Bradford for a chance to play at wembley.