Sinisterly
Simple User System - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: PHP (https://sinister.ly/Forum-PHP)
+--- Thread: Simple User System (/Thread-Simple-User-System)



Simple User System - iPokemon - 07-08-2013

I'm not going to go into much detail here as the files explain themselves.
Obviously, to test it, you'll need either a localhost environment or hosting. The files show you how to use the class and magic methods you can use to get information.

Download


RE: Simple User System - Platinum - 07-08-2013

Screenshots please? Is this already 100% done or just for testing?


RE: Simple User System - iPokemon - 07-08-2013

It's complete, you are correct. There isn't much to screenshot; it doesn't have a design.. It's just a user class and its uses.


RE: Simple User System - Platinum - 07-10-2013

Hmm ok. Would be nice to make a sort of preview file to show examples on how to use it. I know it's not a big deal to scout through the code, but still.


RE: Simple User System - iPokemon - 07-11-2013

Each of the files shows you how to use the methods that the class contains; if you haven't looked, don't post! Simple as that. Wink


RE: Simple User System - Anime - 07-11-2013

Thanks for this, I may incorporate it into a project of mine.


RE: Simple User System - Wet - 07-13-2013

Thanks for this! I appreciate Heart


RE: Simple User System - nikey646 - 08-04-2013

May i make a notice that from what i can tell, your storing the users Password, unencrypted into the Email Field...?

You could also update some of your checks to use the new validation system introduced in Php 5...

For example:
PHP Code:
if(!filter_var($input['email'], FILTER_VALIDATE_EMAIL) $errors[] = "Your e-mail is invalid.";

This is reported to be faster then using multiple regex patterns (And permits domain extensions which are longer then 3... for example, .mobi)

As i look over the code i'll post more info later on...

As for anyone looking to use this a real world application, i highly recommend changing registration and login encryption, Afaik, Sha256 has already been proven to not be secure. If you are looking for a easy to implement but secure system, then i recommend pHPass