Giter Club home page Giter Club logo

lessn's Introduction

-----------------------------------------------------------
# Lessn is an extremely simple, personal url shortener 
  written in PHP with MySQL and mod_rewrite.
-----------------------------------------------------------

Installation

1. Open /lessn/-/config.php in a plaintext editor and
   create a Lessn username and password then enter your
   database connection details.

2. Upload the entire /lessn/ directory to your server. 
   For the shortest urls, place it at the root of your 
   site and rename to a single character. 
   Example: http://doma.in/x/

3. Visit http://doma.in/x/-/ to Lessn a new url and grab
   the bookmarklets (the required database table is created 
   automatically the first time you visit Lessn).

NOTE:

   If your Lessn'd urls aren't working you probably didn't
   upload the .htaccess file. Enable "Show invisible files" 
   in your FTP application.

-----------------------------------------------------------

Updating from 1.0.1

1. Using a tool like PhpMyAdmin or the MySQL CLI change the 
   checksum index type to INDEX (from UNIQUE).
2. Replace all files and directories in /-/ with the updated
   versions in this archive except /-/config.php.
3. (Optional) Define a customized API_SALT in /-/config.php

-----------------------------------------------------------

Updating to 1.0.5

1. Replace all files and directories in /-/ with the updated
   versions in this archive except /-/config.php.
2. (Optional) Define a customized API_SALT in /-/config.php

-----------------------------------------------------------

Updating to 1.0.6 from 1.0.5

1. Replace /-/index.php with the updated version in this 
   archive (only LESSN_VERSION changed).
2. In /index.php replace line 9 with lines 9-10 from the 
   updated version in this archive.

-----------------------------------------------------------

Updating to 1.0.7 from 1.0.6

1. Replace /-/index.php with the updated version in this 
   archive.
2. Replace /index.php with the updated version in this 
   archive (minding any changes you might have made, diff
   before replacing if necessary).
3. Replace /-/pages/done.php with the updated version in 
   this archive.

-----------------------------------------------------------

Updating to 1.1 from 1.0.7

1. Upload /-/SIDB423.php to your server.
2. Replace /-/index.php and /-/db.php with the updated
   versions in this archive.
3. Replace /index.php with the updated version in this 
   archive (minding any changes you might have made, diff
   before replacing if necessary).
   
-----------------------------------------------------------

Updating to 1.1.1 from 1.1

1. Replace /-/SIDB423.php with the updated version in this
   archive.
2. Upload /-/SIDB5.php to your server.


-----------------------------------------------------------
Lessn is offered as-is, sans support and without warranty.
Copyright © 2009 Shaun Inman http://shauninman.com/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.