How would I do "Users not logged in since *** delete them"


Posted on 16th Feb 2014 07:03 pm by admin

I know how I would set this up, and delete the user roughly.
I'll create a table called "Users Status" with ID, Username, date registered, and last logged in collumns. Last Logged in will be recorded as years, and will be set on every page. I will then be checking in admin control panel, if the user has not been logged in since whatever year. Delete them.

I was wondering if this is the best way to do it? or would there be an easier way.

Thanks

No comments posted yet

Your Answer:

Login to answer
184 Like 50 Dislike
Previous forums Next forums
Other forums

array empty
Hiya peeps,

Ok here is the codes.

order.php

Code:

How to Create a Dynamic table
col1 col2 date1 date2 date3 date4..........
a b v1 v2 v3 v4

Insert to MySQL inside foreach
Hey.
I am parsing some html, and putting inside an html db.
I need to create a randomized inte

Working with popups and such in a class
I've recently started building my applications completely enclosed in classes. I like the fact that

download directory onto C drive
I am attempting (if this is possible) to write a routine to automatically dump the contents of a dir

multiple recipients + dbuser mail recall
Hello,

I am building a php login script.

When the user registers the script will send

displaying unknown amount of results
I am reading a directory and getting a list of folders in the directory, I want to display the folde

grouping within a foreach?
hello all,

I currently have a list of products spit out from my db via a foreach loop. Right

DataTable Help Required
Hi all I am creating an app that utilises and MS Access back end and queries it quite a bit at vario

How to make a mail Form secure?
I want to create an email Form on my web site. How can I make the Form secure so the submitted info

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash