What is needed to add trackback functionality?

13 August 2009

In order for trackbacks to work on your website you need to check the following:

  • PHP version 4.3.0 or newer
  • MySQL database (preferable)
  • FTP access to your website
  • Pear trackback script

To find out whether you have FTP access you can either look at your web server’s control panel and create a new FTP account, or you can contact your web hosts direct for FTP details. If you don't have FTP access then you will not be able to add this script to your website, try asking your webmaster to try and set one up for you.

To find out which version of PHP your web server is running create a new PHP file and add the following code:

<?php
phpinfo();
?>


Upload this file and then open the page in a web browser and view which version of PHP your web server is running.

In the web server’s control panel you should also be able to setup a MySQL database which we will use to save all the trackbacks to your website.

If you do not have any MySQL databases that you can use then we will have to use a text file to hold the trackback information. In this situation you will need to change the implementation code accordingly.

If you haven’t already got the Pear trackback script you can download it from:

http://pear.php.net/package/Services_Trackback/download


Unzip the folder on your local computer.

Open the unzipped folder and find a folder called “Services”.

The “Services” folder is the only one you need to upload, so copy it to your website area and upload it to your web server.

http://www.peternichol.com/entry/trackback/131/

Please leave a comment using the form provided.