A simple, no-frills link shortener written in PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
a
LICENSE
README.md
config.php
index.php
redirect.php
shorten.php
statistics.php
table.sql

README.md

Simple PHP Link Shortener

Self-hosted, lightweight PHP Link shortener for your website.

It is licensed under the GNU GPLv3 license.

Installation

To install it, simply import the SQL file using the command line or some web interface (e.g phpMyAdmin). Make sure the table is named linkTable.

Set the values in config.php as you wish. For example, you may add some advertising code to the footer variable.

Lastly, please make sure you rename htaccess in the directory a/ to .htaccess.

Good luck, and enjoy!