Archive for May, 2007

How to Avoid Duplicate Content in osCommerce

If you’ve got an osCommerce store set up you are probably fighting a duplicate content problem with the search engines. The problem is that OSC has an almost limitless number of ways to view any one particular product page – 1 for each category that the product is in plus one without any category information. [...]

cPanel, email, and the difference in fail and blackhole

If you’re running a server with cPanel and using exim as your mail server you have two semi-unlisted options for handling mail that’s not to a specific address.
cPanel calls this a catch all address and it’s useful if you want to have mails addressed to incorrect addresses on your domain still get to you. [...]

Ultimate Tag Warrior 3

This is an experiment that I may or may not stay with, but I’ve installed the Ultimate Tag Warrior 3 on my blog so that I can tag posts. Hopefully by using tags alongside categories I’ll be able to keep the postings here fairly organized.
The installation was fairly simple, although it did take some [...]

Get list of MySQL databases using PHP

MySQL has a built-in command to get a list of databases that can be accessed by the currently logged in user, and it is very easy to take this list and use it inside a PHP script.
First, let's look at the command from inside the MySQL monitor ptogram. If you have any experience inside [...]

Get MySQL version using PHP

Many web based applications need to know what version of MySQL they are using. Fortunately MySQL has a built in command that will return the version as part of a query. Just enter the following command at the MySQL prompt and the server will return the version.

If you're needing to get the version [...]