PHP / SQL posts
28 Feb 2014
19 Nov 2013
Some handy PHP code to get the longitude and latitude values from Google Maps API, based on the town, city or country location.
06 Jun 2013
A PHP function that will highlight all matched keywords in a text string, whilst maintaining correct capitalisation. Examples given and code explained
06 Apr 2013
A tutorial demonstrating how to enable mod_rewrite which will allow a website running on a WAMP stack to use a local .htaccess file for URL rewriting.
29 Mar 2013
A tutorial for setting up a scheduled task using Plesk 11 on Linux. A couple of steps are involved for the scheduled script; ensuring Access to the server over SSH is specified and using wget utility to run the PHP script.
18 Feb 2013
A tutorial designed to help anyone who is using or wants to create a custom Twitter feed that needs to authenticate basic read-only access for any public user timeline with Twitter OAuth, API V1.1.
16 Mar 2012
14 Feb 2012
A useful Twitter style PHP time interval function to calculate the difference in seconds, minutes, hours or days between two different dates and times. The function can be used to display seconds, minutes or hours only, or display the most relevant time measurement unit automatically.