Welcome Guest, Not a member yet? Register   Sign In
MeNeedz Auth

Yes, yes, I know. There are quite a few authentication libraries around but I just can't deny you my own little creation!

The name "MeNeedz Auth" might be kinda strange to you (it derives from the working title of my current project) but don't let that stop you from testing it!

So, what does my library do?
It handles the process of login and can be used to restrict access to a specific user group.

But that's what most of the libraries posted here can do. How's yours different?
I think my library is different because it does not require a certain database layout or a database at all. You can choose to use salting or not (and how you want to combine the salt with the passwort), tell the library what encryption to use (md5 and sha so far) or even don't use a database at all and only use a certain identifier/password combination.

Identifier? Yes! You are not restricted to use the username and a password for login, you can use what ever identifier you want to use. E-mail? Full name? A number? What ever you want!

Does the library have any requirements at all? Yes, sadly it does. You need a library called "session" (e.g. the standard codeigniter session library) to handle the session.

How can I tell the library how I want my users to be authed?
When loading the library you can either use a config array as a parameter or create a config file "auth.php" in your config folder where you can set all the parameters. What parameters can be used can be seen in the library. If you don't want to use the config array or the config file then you can just go ahead and change the variables in the library.

Ok. Sounds great! Where can I get that wonderful thing?
Just grab it from here: --&gt; click me <--
View the user guide here (also included in the download: --&gt; click me <--

Latest Update on 18-11-2008
Version 1.7:
- Added a new function that let's you set a new password for a given user

I am really looking forward to your comments and your suggestions on how to improve the library!


interesting, this sounds really good, is there a userguide for it?

Not yet, but I just thought about writing one. Gimme some hours of sleep and I will be able to present you one!

Sounds very great!

I have just finished the user guide for my library. I used the CI User Guide as a template for mine, hopefully that's ok.

I have updated the downloadable archive with the most current version of my library and included my user guide.

You can either grab the whole package from here: --&gt; click me <--
Or you can just view the user guide online here: --&gt; click me <--

Have fun reading and trying my library Smile
I hope you like it and I am still looking forward to your suggestions/comments on how to improve my library.


thanks for the userguide, was just reading over it and am very impressed with how your authentication library works. I will probably end up using it for several websites that i am doing.

does the library work with both php4 and 5?

So far I have only tested it with PHP5 but I guess it should work with PHP4, didn't use any fancy new functions or something like that.

Glad to hear you like it Smile

[eluser]Sam Dark[/eluser]
User Guide seems to be interesting. Will test it.

Very little and useful! One request: the library don't support the coookie fore create a "remember on yhis compyrter"?
Thank you ciao

You want it, you get it!

I have just implemented a new feature that allows the user to determine wether he wants to be remembered (cookie "never" expires) or has to login again after a certain amount of time (the expiration time set in your session config).

I have updated both the user guide and the rar-file.

I hope that's what you were looking for.

Have fun Smile

Theme © iAndrew 2016 - Forum software by © MyBB