simple PHP URL shortener
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
wh0ami efdd64a83f set label width 4 weeks ago
.idea fixed some problems reported by phpstorm 4 weeks ago
public set label width 4 weeks ago
.gitignore work commit 4 weeks ago
LICENSE Added license information 3 years ago
README.md fixed require, fixed some typos etc. marked by phpstorm 4 weeks ago
my.sql fixed require bug for config, fixed collation and charset of database table 4 weeks ago

README.md

Installation

$ cd /var/www/
$ git clone https://codeberg.org/wh0ami/PHP-ShortLinks.git
$ cd PHP-ShortLinks
$ cp public/lib/config.php.sample public/lib/config.php

Set up a MySQL database (use my.sql) and create a user with SELECT, INSERT and UPDATE permissions for this database. You can configure the application by editing public/lib/config.php.
Configure your webserver for using /var/www/PHP-ShortLinks/public as DocumentRoot and make sure, that the /lib dir is not accessible.

This application is tested with PHP 8.0 and PHP 8.1. The PDO MySQL extension for PHP is required.