You are here:
  1. Home
  2. PHP Scripts
  3. PHP Scripts: NinjaLinks

PHP Scripts: NinjaLinks

NinjaLinks is a web directory script designed to help you organise lists of links in categories and sub-categories. It utilises PHP, and MySQL. NinjaLinks is easy to edit, full-featured and secure.

Download directory script

Installing NinjaLinks

  1. Once the script has downloaded — it shouldn’t take long — extract the files using the built in Windows zip tool, WinZip, or your favourite archiving software. After extraction, you’ll want to rename the folder included in the zip to something like “directory”, “dir” or “listing” as this will be part of your final URL (unless you’re uploading it to your root/main directory).
  2. Create a database. If you’e not sure how, check out my tutorial on creating a MySQL database (external)
  3. Open config.php and customise the options carefully. The options you choose must remain inside the quotation marks. E.g. if you want your username to be jimbo, you’d change $opt['username'] = "admin"; to: $opt['username'] = "jimbo";. Don’t forget to add your database connection details.
  4. Upload all files and directories to your website.
  5. Open the directory you’ve uploaded the files to in your browser and start the install process from install.php — e.g.
  6. When prompted, delete install.php; you can now use the script.

NinjaLinks Features

  • complete category management
  • link management including pending links
  • allows optional link buttons with submitted links
  • allows optional link description
  • tree like system allows viewing by category
  • optional notification emails for link owners
  • pagination of links in admin panel and public directory
  • secure button uploads
  • spam protection and data validation to prevent malicious input
  • contact form
  • optional nofollow attribute for links
  • hits out counter
  • update form for users to manage own links

Follow on Instagram