noob php question - sessions

Soldato
Joined
6 Mar 2008
Posts
10,079
Location
Stoke area
Hi all,

I'm rusty with html and css but I want to branch out to PHP, SQL and javascript.

Currently building a employee area for work as a project, it's the way I learn best. I want people to login and any actions they do (training, editing a file, taking a phone call etc) to be logged. Would this just be a case of using a session to hold their username and applying it when needed?

Or am I completely misunderstanding what a session is?
 
thanks for that :)

I'm running through this guide at the moment:

http://www.formget.com/login-form-in-php/

Using shiftedit.net as the IDE and it seems awesome so far.

Issues with the script is that it looks like it isn't protecting the password (my understanding is that md5 isn't really secure and to use hash/salt for them but I need to read more on this) and that it is using mysql_connect() which is deprecated.
 
thanks i'll take a look :)

that's the problem I find with online info, lots of bad and outdated stuff, and when learning you have no idea it's rubbish.

Spot so many bad python tutorials it's unbelievable!
 
Back
Top Bottom