Giter Site home page Giter Site logo

edimdendidiwangga / codeignitersimplelogin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yuri1992/codeignitersimplelogin

0.0 2.0 0.0 132 KB

Simple Addon For Codeingiter Framewrok, Implement a nice and easy login-user system

ApacheConf 3.07% PHP 87.11% HTML 9.82%

codeignitersimplelogin's Introduction

#Codeigniter Simple Login

##What is This ?!?! Simple login Implement to Codeigniter Framework. In this code we using sesssion libary of codeigniter to store our session data. Safe, Easy and Simple Login Implement.

##Code

###Controller Simplelogin ####->login Login Controller Method, Making a Simple validation of the form. Validiting POST Data with login_model->is_login_valid Making Call to private function set_session_login. ####->set_session_login Initilize Session Data, Store Email,Password,Date,is_login(flag) ####->logout Unset all User date, and remove all session privous data. ####->unset_session_login Private Function, Make the "diry" work

###Helper login_helper ####->on_success_session($url) If user is Valid and Succefull Login he Will redirect to the $url. use in pages that already login users not need to be (create new user) ####->on_invalid_session($url) If user in not login, and not have valid session he will redirect to $url. use in protected pages

codeignitersimplelogin's People

Contributors

yuri1992 avatar

Watchers

James Cloos avatar edim dendy avatar

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.