I need a php script([url removed, login to view]) that on the day a new user registers, it takes the current date and adds days(based on the subscription plan-2weeks, 1month, 3months, 6months, 1year) to it to create an expiration date which will be saved in MySQL database.
Then, I need a php script ([url removed, login to view])to check the current date against the expiration date in MySQL database. If the current date = expiration date, it should redirect to expire.html.
I only need the scripts. I can install them myself. Your mission should you choose to accept it is to create scripts and make sure they work.
Thanks in advance!