User login (Authentiction, Sessions, Cookies?)
Posted on 2004-10-31
For now this question is worth 500 points, but I might end up using up to 1000 points for this question alone, but that would mean I would need this solved. So here's the deal. It will stay at 500, and when I find a suitable answer, I will hike it up to 1000.
Now, to start - I have spent almost 50 hours working on a project for my final year, and, considering I am a PHP newbie, I am making an awful lot of progress, but I am struggling with user login (authentication, sessions, cookies). Everything is depending on this, as different users have different access, depending whether they have site admin, election official or voter status within the database tables.
I need the authentication method fixed. Either by cookies, sessions or whichever way is possible. From my code you will probably see what I am trying to do so making it work with minor changes to my code structure would be optimal.
I don't know how to present this question to you, as I can't paste my code here, as in total, with the database dump, my code will be over 80KB in size. I therefore need one person to commit to this question, and let us communicate directly via e-mail. My e-mail address is itbjdm (at) puk.ac.za for any interested parties... Those who need to contact me, must be willing to correct my roughly 80KB code to a working state, which should, for someone knowing PHP be a real breeze.