Simple CodeIgniter PHP URL shortner project.
We need a URL shortening function created for us using CodeIgnitor and using a SQLite DB.
You can just use a std CodeIgniter 1.7.2 package and we will integrate it into our main project later.
We expect to see a form that takes the following user input:
1. A local URL
2. A keyword
The keyword (only) must be checked against the DB to ensure that it is unique before the form can be submitted.
A short URL is then generated.
For example, if the URL entered was:
'[url removed, login to view]'
and the keyword was: 'about'
the short URL would be: '[url removed, login to view]' and would redirect accordingly.
Note that this MUST be created using Codeignitor 1.7.2 and SQLite (not MySQL) as specified.