Learn, Share, Build

218
October 02, 2017, at 07:08 AM

Currently I am trying to figure out how to log someone's last login and update a database with PHP. So far what I know is that the user has to be authenticated to a specific server (that I know).

What I'm failing at is the logic because I really don't know how to go about it. I was thinking about somehow logging someone when they authenticate. But wouldn't I have to update the database?

No clue how to go about this.

Here are some of my attempts: 1) User is authenticated 2) Call for that authentication 3) How log that information? With $session ?

Rent Charter Buses Company
READ ALSO
Learn, Share, Build

Learn, Share, Build

I have got a basic slim application with a session_start() in the indexphp

205
Learn, Share, Build

Learn, Share, Build

I have a cold that looks like this

218
Learn, Share, Build

Learn, Share, Build

How do i send email with php such that the person receives it that very second or within less than 30 seconds

226
Learn, Share, Build

Learn, Share, Build

I am using two PHP frameworks now, one is laravel-5, the other is self-developedIn one

224