PHP activity log

0

Greetings to all, I have a small table where everyone can consult, edit and insert and I want to know who has made some movement but without using login rather know through the name of the pc or user of windows.

    
asked by Leonardo 28.08.2017 в 01:54
source

1 answer

1

PHP 5.4+ gives you the name of the pc, you can enter it in the database.

gethostbyaddr($_SERVER['REMOTE_ADDR'])
    
answered by 28.08.2017 / 02:05
source