PHP reciprocal links manager (LinkMan)
Version: 1.03 from 21st April 2006
Written 16th July 2004 by Klemen Stirn (info AT phpjunkyard DOT com)
PHPJunkYard.com - Free PHP scripts
Link manager LinkMan
Support and developers forum
Copyright notice and license
Description & requirements
Upgrade from version 1.02
Troubleshooting and getting help
Copyright removal, newsletter, rating this script and other
Copyright 2004-2006 Klemen Stirn. All Rights Reserved.
The LinkMan may be used and modified free of charge by anyone so long as this copyright notice and the comments above remain intact. By using this code you agree to indemnify Klemen Stirn from any liability that might arise from it's use.
Selling the code for this program without prior written consent is expressly forbidden. In other words, please ask first before you try and make money off this program.
Obtain permission before redistributing this software over the Internet or in any other medium. In all cases copyright and header must remain intact. This Copyright is in full effect in any country that has International Trade Agreements with the United States of America or with the European Union.
Removing copyright notice ("Powered by" statement)
Removing any of the copyright notices without purchasing a license is NOT ALLOWED! To remove PHPJunkyard copyright notice you must purchase a license for this script. For more information on how to obtain a license please visit the site below:
PHP link manager will completely automate your reciprocal links exchange!
>> Upgrade from version 1.02
To upgrade from version 1.02 to version 1.03 follow these steps:
Open file settings.php in your favorite PLAIN TEXT editor (like Notepad or Wordpad on Windows systems, DO NOT use MS Word or similar editor) and set these variables:
|$settings['apass']||This will be your password for the admin panel. Change it from the default password admin. Use only letters a-Z, A-Z and numbers 0-9|
|$settings['site_url']||URL of your website. This is the URL your link partners will have to place on their website.|
|NEW: $settings['autosubmit']||Setting this to 1 (recommended) will require entering a "security number" in order to successfully
submit a new link to LinkMan. I have added this to prevent SPAMing LinkMan. Set to 0 if you want to disable the security number check.
RECOMMENDED SETTING: $settings['autosubmit']=1;
|NEW: $settings['filter_sum']||This variable is used in the preventing automated submissions and is just a little trick that should make it all even more reliable. The idea is to set this to some random sequence of chars and numbers, for example dhjx72js. It doesn't really matter how long it is, but you should use only chars (a-zA-Z) and digits (0-9). Don't leave the default value (as it would loose the whole point), set it to something of your own. Examples would be g3oyf98, p9ak85i, h398dgf and similar. Again, DO NOT USE these examples, just type some chars of your own!|
|$settings['notify']||If set to 1 you will receive an e-mail notification at your admin e-mail address every time a new link is added to your LinkMan. Set to 0 if you don't want to be notified.|
|$settings['admin_email']||Your e-mail address where new entry notifications will be sent. Only required if $settings['notify'] is set to 1.|
|$settings['max_links']||Set to the maximum links you will allow submitted. For better performance please set an appropriate limit (50 works fine on most servers). Once this limit is reached no new links can be submitted (unless some are deleted).|
|$settings['clean']||If set to 1 the "straight" URLs
will appear as links (example: http://www.somesite.com). If set to 0 redirects
will be used
|$settings['add_to']||If set to 0 new listings will appear to the top of the page. If you want new listings to appear below old listings set this variable to 1.|
|$settings['linkfile']||File where all the link data will be stored (advanced users only). You may leave this as it is.|
Save and close the settings.php file.
Go to your FTP client and FTP to the public
directory on your server (where the rest
of your website is; usually "public_html", "www" or "site")
and create a folder where you will install linkman.
Corresponding URL: http://www.yourdomain.com/linkman
Upload all LinkMan files to this folder. Images (line.gif,reset.gif,delete.gif) must be transferred in BINARY mode, other files in ASCII mode (refer to your FTP client instructions for details on how to set transfer mode properly).
Make sure that the PHP scripts have permission to write to file linkinfo.txt - on UNIX (Linux) servers you must CHMOD (set permissions for) this file to 666 (rw-rw-rw).
Use the HTML form from "form.html" to allow users to submit their links. YOu may modify the look of this page as much as you like or even use the form HTML code on any page you like, just make sure you set the proper ACTION parameter of the <form ... > tag!
The links.php file is the one that displays all the links. Use this file as your links page, for example use page http://www.yourdomain.com/linkman/links.php as your "Reciprocal links" page.
If you have done all this your link exchange should work now. In your browser open
folder where you have installed LinkMan, for example:
Type in the password you set in settings.php, click Enter admin panel and you are in the admin panel! Here you can remove unwanted links and run a check to see if sites still have your reciprocal link.
Good luck with the script!
What is CHMOD and FTP?
I have prepared a simple FTP and CHMOD tutorial which will help you FTP files to your server and set correct CHMOD settings.
My link exchange doesn't work, HELP!
Here are a few things to check:
Since these scripts are free no support is guaranteed. If you can't get the script to work please go through this readme file again carefully and repeat the installation step-by-step (also delete old files and folders from the server). Also please feel free to post any questions or problems you might have in PHPJunkyard forum!
>> Copyright removal
You may NOT edit or remove any copyright or Powered by statements in LinkMan code
without purchasing a license! For more information please visit
>> Stay updated!
Join my FREE newsletter and you will be notified about new scripts, new versions of the existing scripts
and other important news from PHPJunkYard.
Click here for more info
>> Please rate this script
If you like this script please rate it or even write a review at:
Rate this Script @ Hot Scripts
Rate this Script @ PHP Resource index
>> What else?
That's it! If you use PHPJunkYard free scripts or any portion of their code please place a link to PHPJunkYard.com on your website. I won't sue you if you don't, but I believe it is a fair trade for a free script/code. Think about it. You can find link suggestions here.