houssam_ballout Posted December 3, 2011 Share Posted December 3, 2011 Hello,I had this issue:I had users which had trial users 10 days, so after 10 days passed, I don't want the user to login. So I was thinking of doing a php file which will query for the expired users, send them an email & disable access to login.my question is: Am I thinking right? If yes, how can I enable running of php files daily. If no, then how should I go for this?Thanks in advance Link to comment Share on other sites More sharing options...
Synook Posted December 4, 2011 Share Posted December 4, 2011 You can use cron (Unix) or Scheduled Tasks (Windows) to make a PHP script run daily (by invoking the php executable with your script as an argument). Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.