input.php - input box asking for url. call create.php on form submit.
create.php - generates random string, adds url and random string to urls table
redirect.php - takes random string. finds url associated with it. redirects
.htaccess - catches http//domain.com/<random string> and maps it to redirect.php