---------------------------
URL Shortening Script V1.0
---------------------------

Thank you for purchasing the URL Shortening Script. Please read the following document for assistance on how to install the script on your server.

How to install:
--------------

1. Open lib/class_lib.php and declare the URL of where the script will be hosted on the first line.
2. Create a mySQL database. If you're using cPanel for your website, then you can do this via cPanel > mySQL Databases.
3. Create a database user with password.
4. Then open cfg/mysql.php and edit the mysql database settings.
5. Run the following query on your mySQL database (E.g through phpMyadmin)



CREATE TABLE IF NOT EXISTS `link` (
  `id` int(255) NOT NULL,
  `short` varchar(255) NOT NULL,
  `url` longtext NOT NULL,
  `tags` longtext NOT NULL,
  `desc` longtext NOT NULL,
  `password` varchar(255) NOT NULL,
  `limit` int(255) NOT NULL,
  `date` varchar(255) NOT NULL,
  `hits` int(255) NOT NULL,
  `submitip` varchar(255) NOT NULL,
  UNIQUE KEY `id` (`id`),
  KEY `id_2` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;




And you're done!

How to customize:
-----------------

The script itself is extremely easy to customize - just edit the CSS file provided. You can also change anything you like in any of the PHP files, as they're unencrypted, raw PHP.



If you're having trouble setting up your script, please let me know by using the form here:
http://www.urlshorteningscript.com/ and then going to the contact section