ashworthm Posted January 25, 2007 Share Posted January 25, 2007 help.... new person not sure?????when someone is logged into your website after using a username and password, how can i create a userlog to grab there username and time of logging in? so i can generate access reports?ta Link to comment https://forums.phpfreaks.com/topic/35671-how-do-you-grab-a-username/ Share on other sites More sharing options...
Cep Posted January 25, 2007 Share Posted January 25, 2007 Well you could take a time stamp when they log in and insert this data into a table along with their username or user id. Link to comment https://forums.phpfreaks.com/topic/35671-how-do-you-grab-a-username/#findComment-168969 Share on other sites More sharing options...
c_shelswell Posted January 25, 2007 Share Posted January 25, 2007 send their name and a timestamp to a mysql database table when they log in.something like $query = "insert into userlog values('$username', '$time')";you could change that to an update if they've logged in before Link to comment https://forums.phpfreaks.com/topic/35671-how-do-you-grab-a-username/#findComment-168972 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.