Shorten the URL

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

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