Demo : http://shorturl-kartheekgj.rhcloud.com/
It worked as you download make sure all the files in one folder.
Make sure that you have internet connection so that i can connect with my mongodb on cloud.
Please change the config of the mongodb that are present in the config.php file.
You can change the url of the connection based on your host
Here are some of the input output :
my example static shorturl base is MYSHORTURL+/testmongo.php this may be ur short url http://example.com
-
Long URL : https://mongolab.com/databases/gj/collections/shorturl
Short URL : MYSHORTURL+/testmongo.php/f8WxPcFY -
Long URL : https://mongolab.com/databases/gj/collections/shorturl
Short URL : MYSHORTURL+/testmongo.php/YjWDiEs8