Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Shortlink

Description

Simple webapp to generate shorten urls.

Requirements

  • PHP >= 5.2
  • PDO installed
  • a PDO compatible database

Installation

  1. upload the code to your server
  2. use database.sql to create the redirect table
  3. use the nginx.conf example to set up your vhost
  4. copy application/config/bootstrap.example.php to bootstrap.php and change it to your needs

Remarks

This app is developed and tested with nginx and postgresql.

It should work with other DBMS thanks to PDO.

It should work with other webservers if you point the host into the public directory and rewrite urls to /index.php?shorty=$uri.

License

This script is available under the WTFPL license.

About

Simple webapp to generate shorten urls.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages