I have a page that I had to make a custom lock on because I use a service where you need premium for locking pages so I made my own HTML lock which works. What I do not completely trust is how secure it is, so I would like to make some code where when the user gets the password correct, it logs their IP address and the time that they logged in.
I have only three people that should have access to this page so it will be easy to see an IP that should not be there. I want the code to log the IP to a file that would be easy to access for me such as logins.html
that I could check and see the IPs of people that have logged in. I do not know if this is possible and help would be great, thanks!
-wdmc85
[Edit]: Or how could I do this with PHP?