CodeIgniter Forums

Full Version: HMAC login
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]brandonrichards[/eluser]
I'm kinda new to MVC and its been a long time since i've 'written' php, but here is an HMAC login I created awhile back if anyone wants it or would like to comment on it.

Add the sql to your ci_session table (if you have one)

The username and password are : admin / password

copy the folders in system.zip into your root folder, load into a browser and should work for you. I'm interested in learning a better way to code my controller as I don't like how i've chained things together.

Thanks!

EDIT: Apparently files don't work properly on here.

http://www.brandonrichards.com/database.sql
http://www.brandonrichards.com/system.zip

El Forum

[eluser]Michael Wales[/eluser]
I did a quick Google for HMAC login and didn't return anything significant. Could you go into more detail as to what exactly is HMAC for the rest of us?

Thanks!

El Forum

[eluser]Michael Wales[/eluser]
Oops - spoke to soon, a search for just HMAC returns some good results: Wikipedia: HMAC

El Forum

[eluser]brandonrichards[/eluser]
http://www.php-mag.net/itr/online_artike...d,114.html

There's also a pear package.

Like I said I just did this to see how i could take things I've already in php and convert them for use in CI. I based it mainly upon the php-mag article