21.06.2017, 07:20
Code:
items = db:getall('SELECT * FROM user_logs ORDER BY id DESC')
for _, item in ipairs(items) do
login = item.login
ip = item.ip
date = os.date('%c', item.created)
log(login, ip, date)
end
How to read access log from script?
|
« Next Oldest | Next Newest »
|
Messages In This Thread |
How to read access log from script? - by Mirco - 21.06.2017, 06:53
RE: How to read access log from script? - by admin - 21.06.2017, 07:20
RE: How to read access log from script? - by Mirco - 22.06.2017, 06:44
|