I’ve been doing a little more WordPress (v2.9.2) hacking as a new project required a little more CMS-like control over a website than WordPress by default provides. As a result I’ve resorted to extending WordPress and the results have been pretty encouraging already. I have to say, for the record, that the WordPress team has [...]
Tag Archives: php
WordPress Auto-Upgrade Problems
As a little memo to myself and for anyone else who is having trouble getting the WordPress automatic upgrade feature working, particularly if your on a Linux (CentOS 5) VPS with 1and1. I have great admiration for the WordPress auto-upgrade feature particularly as it saves you loads of time especially if you administer a number [...]
Connect remotely to MSSQL with PHP on CentOS 5
For some time now I’ve been looking for a solution for projects that are using PHP but are connecting to a remote Microsoft SQL Server database. As many already know, the webmasters ideal (or at least mine) is a LAMP stack which, for those that are not sure, is Linux, Apache, MySQL and PHP. Why [...]
Retrieving your most recent Twitter Information
During a recent project I needed a script to retrieve some real-time data from a Twitter account and display the results on the homepage. After a quick search I came across a helpful PHP script by Joost de Valk. Much of the code below is based on his original script, so all credit to him.
Cron job for phpList on 1and1
I have seen quite a few posts about this topic floating around the internet during my search for a solution, many of them did not apply to my situation or failed to be clear and concise so I thought I would have a bash at documenting the necessary steps in setting up a cron job [...]
Time Delay Content by File Access Time
I was working on a mini-script to display the results of a database and then log the results into a log file. One of the problems with the logging script was that every time the page was displayed, it would pull the results from the database and log the results.
Switching to PHP5 on 1and1 Linux Hosting
I recently upgraded a client to a 1and1 Linux Business Pro hosting package and so far I have found no major obstacles. The previous environment was a dedicated Windows 2003 server in which there was free reign to modify any of the core files, including the PHP installation and any other similar files.
Simple Joomla! SEF fix v2
A few days ago I made a post relating to an issue I came across with Joomla! during a move from running it in basic SEF mode, which utilises the aliases given when creating categories and articles in the Joomla administration/back-end, to the full/advanced SEF mode which utilises both the aliases and Apache’s mod_rewrite to [...]
Joomla! SEF/SEO and URL 404 Fix
I recently moved a clients distribution of Joomla! from a Windows 2003 enivornment running IIS6, a Microsoft Web Server. As some of you may know IIS and Joomla! do not play nice together, in particular all the SEF (Search Engine Friendly) and SEO (Search Engine Optimisation) settings do not work out of the box as [...]
