Tag: Kohana

Kohana auth module a better one? download here!

Well.. kohana’s auth module is fine, but it does not work for me…
We programmers just want something we fully understand and most of the time we just write something ourselfs instead of using things that other programmers made.

That’s why i made my own auth module ( used lot of kohana’s auth module ), and i think that everyone could use this one..
The use is very simple, and the code is very easy to understand and extentable.

DOWNLOAD
includes:
-auth module
-sql script

The code works just fine… and when u take a look at the code you will see alot of different kind of databases handling. That is one of the learning curves here for you guys.

Take a look at the database (mysql workbench screenshot):
Kohana auth module (continue reading…)


Kohana php framework auth module working example

*EDIT: check this post for an easy auth module i made myself

I searched the internet for a “GOOD” documentation about the auth module in kohana.
Couldnt find one… (not even on the official website….). [official documentation]
The example they include in the download of kohana isnt working at all (misses classes and so on….)

So i made an simple example.

Let’s start:

I assume that u have the auth tables allready correct inserted into youre database.
(if not go to modules/auth/views/auth/install.php query should be in the php source…)

Create a file login_test.php
place it in: application/controllers

CTR-C and CTRL-V the code in that file.
Goto: youredomain.nl/login_test
(continue reading…)


Copyright © 1996-2010 Re:morse.nl. All rights reserved.
iDream theme by Templates Next | Powered by WordPress