Hello,
I need a PHP script that goes through all rows in a table and:
A) If the field "last_login" is 20 days old or more, it sends an email to the user, email field being "email" notifying that he/she has 10 days to do login to his/her account to keep it from being deleted.
B) DELETES the row if the "last_login" field is 30 days old or more.
The catch? This must be tested on YOUR OWN SERVER!
I want to see a WORKING SAMPLE - this script is for www.VirtualDN.com - and I simply cannot risk a script glitch on my own server.
The dates are stored in this PHP date() format: F d, Y
That's:
February 02, 2005
...similar to that. Convert it if you must but I need it to be bug-free.
Thanks for anybody who can do this... $5 will be sent via PayPal to a working script.
-Matt
I need a PHP script that goes through all rows in a table and:
A) If the field "last_login" is 20 days old or more, it sends an email to the user, email field being "email" notifying that he/she has 10 days to do login to his/her account to keep it from being deleted.
B) DELETES the row if the "last_login" field is 30 days old or more.
The catch? This must be tested on YOUR OWN SERVER!
I want to see a WORKING SAMPLE - this script is for www.VirtualDN.com - and I simply cannot risk a script glitch on my own server.
The dates are stored in this PHP date() format: F d, Y
That's:
February 02, 2005
...similar to that. Convert it if you must but I need it to be bug-free.
Thanks for anybody who can do this... $5 will be sent via PayPal to a working script.
-Matt












