Email :

Web site membership management ....

PHP-SecureArea is a PHP / mySQL application which allows authorized members to access a secure area of a web site after the purchase of a PayPal subscription.

Members are automatically allocated to the secure areas after payment has been confirmed from PayPal or manually added through the admin displays.

PHP-SecureArea provides the checking of the completed transaction from PayPal, administration of memberships, and the sending of confirmation email and password to the customers.

The secure areas have parameters that include :

  • the folder path of the protected area
  • the cost to access the protected area
  • the billing cycle for the subscription which may be from 1 day to many years.

When the user makes a valid purchase, they are able to log in to the secure area for the subscription period and continue to do so as long as the customer continues to pay the subscription. Access to the secure area will end when the customer cancels the subscription or when payment fails. For manual created users, access to the secure area is controlled by a Cron job.

Subscription installments are also supported allowing a fixed number of payments to be made for a defined period.

The application does not have to be used with PayPal, as users can be manually created through the admin interface.

You can manually create users, in which case a Cron job is used to disable users at the required time.

You can create as many secure areas as you like, with each area pointing to different folders or some pointing to the same folders but with differing costs and time limits. So you could have a subscription costing $10.00 for 6 months access and another subscription costing $15.00 for 12 months access giving the customer a choice.

Main features

  • Interacts with PayPal allowing customers to gain access to secure areas without any intervention from yourself.
  • Customers can be added or removed using the admin interface independently of PayPal.
  • Duration of membership defined in units of days, months or years.
  • Automatic removal of members from the login system after subscription period has expired.
  • Control access to secure area for PayPal subscriptions is automatic by PayPal IPN.
  • Control access to secure area for manual users is by a Cron job.
  • In built checks to ensure that PayPal payments are valid and to prevent spoofing.
  • All pages written in PHP and script is NOT encrypted.
  • All credit card transactions are handled by PayPal.

Customer login

Customers have access to a set of administration pages where they may change their password and recover a lost password.

Live demonstration

The following PayPal buttons can be used to see what happens when a customer purchases a subscription.

This is a live purchase for $0.01 to give access to a protected area for 3 days. After 3 days, the subscription will expire and you will not beable to access the protected area.

There are two types of buttons, one includes a system of pre-registration where the customer can enter in their personal details.

$0.01 subscription for 3 days non-recurring without pre-registration

$0.01 subscription for 3 days non-recurring with registration

Free susbcription (value of 0.00 entered for the cost) for 3 days with registration

After you have made the purchase you will receive an email with log in details.

Log in to the secure area at :

click here to log in
click here to log in


  • PHP 5 and above
  • Apache web server
  • mySQL database version 3.23 or higher
  • Linux or FreeBSD operating system (not Windows) on the web server
  • A Paypal Business or Premier account - sign up here.
  • Email functionality on the web server so that the PHP scripts can send out emails to customers.
  • If you are looking for a suitable host for you site, I would recommend the basic web hosting plan from LunarPages which has all the required features for this application.

It uses only 'standard' php, does not require any extra php modules and it should not need any changes to the .ini file.

Find out more

Pricing :
PHP-SecureArea costs $65 U.S. Dollars. Click here to go to the purchase page for further details.

Demo : To view an on-line demo illustrating the admin pages, click here.
You may also buy a 3-days subscription for $0.01 to a test area to see how the system works.

Enquiries : If you have any questions about the product, go to the contacts page by clicking here.