PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I've been doing some basic PHP for a while and I was thinking about trying something new. So I want to try to make a basic login system that remembers IP's (auto-login) and maybe access levels (that limits what the users can see and not).
So does anyone got some tips for me? Maybe some guides good documentation for projects like this?
It doesn't have to be 100% secure, because I could always add htaccess protection. It's more the access level and stuff like that I want to get out from this site.
I was looking at this guide. It doesn't have the "remember me"-thingy, and I could fix the access level thing with adding classes in the database. Any other guides etc. I should read?
Look, the common way is to set a cookie that will remember the user for a period of time, but it can be easily hijacked. You should read that: http://php-mag.net/itr/online_artikel/p ... d,114.html This is about how you can secure your sessions better.