Create a Database in MYSQL, and then import the supplied .sql file into that database. you may optionally choose to create the database tables manually. Open functions.php in a text editor and change ...
First is simple. Application receive text and save it to random file. Next return unique URL.