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.
Archive for the ‘PHP’ Category
06
Apr/13
29
Mar/13
29 March 2013

Tweet Caching with PHP & JQuery
Part 2 of the custom twitter feed tutorial with authentication. Caching the twitter feed to a local file can speed up loading of tweets and negate Twitters rate limiting.
29
Mar/13

Scheduled Task for PHP scripting in Plesk & Linux
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/13
18 February 2013

Authenticating a User Timeline for Twitter OAuth API V1.1
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/12
16 March 2012

Indexing MySQL fields to speed up PHP queries
Indexing database fields can do wonders to speed up complex PHP queries. This post goes shows how easy it is to know where to use indexes and how, using MySQL, PHP and PHPMyAdmin.
14
Feb/12
14 February 2012

PHP function: calculate x seconds, minutes or hours ago
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.
02
Feb/12
02 February 2012

PHP get first paragraph from a string function
A useful PHP function that gets the first paragraph from a regular HTML string, with option to remove the paragraph tags.
07
Jan/12
07 January 2012

Reset PHP Recordset for Multiple Repeat Regions
How to re-use a PHP recordset by resetting the recordset pointer. This allows multiple repeat regions from the same recordset to be used.
26
Nov/11
26 November 2011

Apache php display friendly server error
How to display a friendly PHP error on a windows 7 PC running Apache Server.
25
Oct/11
25 October 2011

Scheduling a custom php script URL with plesk
Using Plesk's 'scheduled task feature' to call a PHP page on your server for the scheduling of PHP scripts.

