Shorten the URL

miles@Oscar ef1ae6a0de add README.md 9 éve
.gitignore e9559c06f3 init shorturl-miles project 10 éve
.htaccess e9559c06f3 init shorturl-miles project 10 éve
README.md ef1ae6a0de add README.md 9 éve
ShortUrl.php e9559c06f3 init shorturl-miles project 10 éve
config.sample.php e9559c06f3 init shorturl-miles project 10 éve
index.php 7e26feefac tiny changes 10 éve
init.sql e9559c06f3 init shorturl-miles project 10 éve
s2u.php a38590a1a0 modify absolute path in include files 10 éve
u2s.php 7e26feefac tiny changes 10 éve

README.md

Short URL

Using this script, you can change the long url into short url.

Demo is available in HERE

Installation

  • Create config.php based on config.sample.php
  • You may modify the .htaccess file according your environment
  • source the db using init.sql