/* ------------------------------------------------------------
   Michael Sorrentino - msorrentino@sorrentino.org
   http://www.flickeringlights.net/phplinksmanagerpro
   ------------------------------------------------------------
   Copyright (C) 2004  Michael Sorrentino

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   A copy of the GNU General Public License is included with the files
   associated with this software (see LICENSE file)
   To receive a copy of the GNU General Public License
   write to the Free Software Foundation, Inc., 59 Temple Place,
   Suite 330, Boston, MA  02111-1307  USA
*/

Many thanks to Kathy Strickland for helping me work out the bugs!!


This project started off as a simple links management tool for trading links with other sites
and being able to monitor those links to ensure people I am trading links with are linking back to me.
As development continued over the course of a few
days, I decided to release it to the public in the hopes that someone else can use it.

I hope this will be of use to someone. If you have problems, I will try to help you if I can but I will
not be able to spend a huge amount of time helping everyone.

If your problems persist, I offer a install service of $20.00 US (one time). Email me.

REQUIREMENTS:

PHP 4.3.0 or higher and mySQL. Your existing links page on your site MUST be a PHP page or SSI page. There are other workarounds
(for example, your webserver is set to parse .htm pages with the PHP engine)

*VERY*VERY*VERY IMPORTANT. For the impatient, you might have missed this. This script uses a php function called 
file_get_contents. It is ONLY supported in PHP 4.3.0 or later. If you do not have at least 4.3.0, the reciprocal link 
verification mechanism will simply not work. 

Install notes:

I'm not going to spend a whole of time on this. You'll have to have a reasonable understanding
of PHP and MYSQL to get through this.

1) Unpack the file and upload them into a subdirectory of your DocumentRoot on your webserver. I would suggest calling
it /links

2) Create your MySQL database, call it whatever you like

2) edit the following files:
	inc.php - User configurable variables. Some optional, some mandatory, go through it all.
	db_conn.php - Your MYSQL connection info

3) Use the phplinksmanagerpro.sql file to populate your database. 
Make sure you set the admin username and password before executing the SQL

4) the file called links.php is the file that actually polls the database for active links and displays the results.
From my links page on my site, I use a php include tag to include this file. links.php is not a full html page, the 
html code is for the formatting of the links. For example, I use the include tag <? include "links/links.php"; ?> 
on my links page (http://www.flickeringlights.net/my_links.htm). You can include that in your page or rip the code
and put it in your page directly.

Good Luck!

