Giter VIP home page Giter VIP logo

user-library's Introduction

The User Library is a (very) small PHP framework, which you can use to manage user of you website. It supports groups, permissions and custom fields. Passwords are encrypted with md5 and salts.

REQUIREMENTS

  • PHP 5.3 or higher
  • MySQL 4.1 or higher
  • The mysqli extension installed on your server
  • If you want to use scrypt to encrypt passwords, you need to have the php-scrypt extension installed

INSTALLATION

Download a version of the User Library.

  1. Upload the data directory and the install.php file to your website
  2. Make sure the data/settings.php is writeable for the web server user
  3. Call the install.php file with your web browser
  4. Now fill in all fields and click on "Install", the install.php will inform you about errors.
  5. When the creation of the database tables and the settings file was finished successfully you can delete the install.php and maybe rename the data directory to any other name.
  6. Now you can use the User Library, start with including the class.user.php file.

UPGRADE

Attention: It is not possible to upgrade from version 0.7 to 0.72 due to changes of the password encryption

The User Library can be updated with the upgrade.php. You cannot skip a version, so if you want to upgrade from 0.41 to 0.6 you first have to upgrade from 0.41 to 0.5 and then from 0.5 to 0.6. You can view the history of all User Library versions with the git tags.

  1. Backup your settings.php
  2. Upload the new data directory and the upgrade.php to your server
  3. Call the upgrade.php with your web browser
  4. Fill in all the fields and click on "Upgrade", there also may be no fields to fill. The upgrade.php will inform you if there was errors.
  5. When the creation of the database tables and the settings file was finished successfull you can delete the upgrade.php
  6. Now you can move the content of the new data directory to your User Library directory
  7. Test if everything still works

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.