12.05.2016, 21:54
easy
use gettime()
new expiry=gettime()+(60*60*24*days);
when he login check days and expiry varaible compare with new time gettime()
use gettime()
new expiry=gettime()+(60*60*24*days);
when he login check days and expiry varaible compare with new time gettime()

