Subscription Password Expiration

Top  Previous  Next


AShop V supports the sales of subscription access to password protected members only directories and provides a simple method to remove expired passwords from the list.


To remove expired passwords automatically...


1.Open checksubscr.php in a text editor.


2.Change the $ashoppath variable to the full server path where the subscription directory is located.

       Example: $ashoppath = '/home/username/public_html/protecteddirectory';


3.Upload/replace the checksubscr.php file


4.Run the checksubscr.php script from a browser when you wish to remove expired passwords.

       Example: You can also add a cron job to your site that runs it automatically in certain intervals, for example once per day.