How to Get Login time history in PHP?


 
Thread Tools Search this Thread
Top Forums Programming How to Get Login time history in PHP?
# 1  
Old 10-05-2012
How to Get Login time history in PHP?

Hi,

Need a perfect user data base solution for my ecommerce website. I want to track whole activity of my end user until the user logout

Thanks in Advance
# 2  
Old 10-05-2012
How to get the login time depends on how you're storing the login and activity information.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to make each login shell history independent for same account?

Hello All, Many developers in our company use same application account to log in Linux Box for code development, how can i redirect my log in shell history to a different file to avoid history being shown to others or accidentally execute the same command which i or others executed? Thank you. (4 Replies)
Discussion started by: Ariean
4 Replies

2. Shell Programming and Scripting

History of all the users in single file with command , date . time , ip and user

HTML Code: archive_history() { HISTORYOLD=${HISTFILE}.archive CURTIME=`date` CURTTY=`tty` IP=$(echo $SSH_CLIENT | awk '{print $1}') if ; then echo "#-${HOSTNAME}-- ${CURBASHDATE} - ${CURTIME} ($CURTTY) ${USER} ${IP}----" >> $HISTORYOLD history... (0 Replies)
Discussion started by: rehantayyab82
0 Replies

3. Shell Programming and Scripting

History of all the users in single file with command , date . time , ip and user

HTML Code archive_history() { HISTORYOLD=${HISTFILE}.archive CURTIME=`date` CURTTY=`tty` IP=$(echo $SSH_CLIENT | awk '{print $1}') if ; then echo "#-${HOSTNAME}-- ${CURBASHDATE} - ${CURTIME} ($CURTTY) ${USER} ${IP}----" >> $HISTORYOLD history... (2 Replies)
Discussion started by: rehantayyab82
2 Replies

4. Shell Programming and Scripting

To find the time stamps history of the files within the sub-folders

Hi - Can anyone help me to get the shell script for the below scenario I need to find out the time stamps history for the files residing within the subfolders. Ex.. Let say I got directory structure like /home/project1/ -- Fixed directory Now within the project there are many... (1 Reply)
Discussion started by: pankaj80
1 Replies

5. UNIX for Dummies Questions & Answers

How do I get the last login time of a particular user?

How do I get the last login time of a particular user?:confused: (1 Reply)
Discussion started by: g.ashok
1 Replies

6. Solaris

Can history commands show what time command executed

On Solaris 8 and 10 is there a way history command can show what time a particular command was executed. Pls reply. Thanks (2 Replies)
Discussion started by: Tirmazi
2 Replies

7. SuSE

Linux SuSE 10 - Disable Unsuccessful Login History.

When we login to any remote connections in SuSE Linux, say for example, telnet , the following line is displayed "Last Login : Date and time is displayed" I would like to disable this. In SuSE 9, I could find the solution . Please suggest me a solution to disable the line displayed for SuSE... (3 Replies)
Discussion started by: Laksmi
3 Replies

8. Shell Programming and Scripting

Date/Time in history command

Hi, Can we display the Date/time stamp in history command Ex: $history output ----------- vi pr.sh ksh -x pr.sh ksh -n pr.sh nhoup ksh pr.sh & nohup ksh pr.sh & i want the output like this Tue Mar 14 17:18:57 GMT 2006 vi pr.sh HOSTNAME is it possible sir ???? (3 Replies)
Discussion started by: vastare
3 Replies

9. AIX

Passwords and first time login

When assigning a new password using passwd the first time the user signs in they are forced to enter a new one. I am currently setting up over 100 users on a new system for a new application the uses a gui front end to access it. Because of this they never see the unex prompt so when they login... (5 Replies)
Discussion started by: jyoung
5 Replies

10. UNIX for Dummies Questions & Answers

login history log file?

hi, i am the administrator of my sun solaris 8 server. i want to keep a log file for users who have login. example: in the end of the day, i want to open file that tells me during these days, what user, from which IP address, and from what time to time has login. please tell me how should... (4 Replies)
Discussion started by: champion
4 Replies
Login or Register to Ask a Question