PHP-SecureArea allows you to create portected areas of a web site using PayPal recuring payments.
To enable the customer to login to the secure area, an email is send with a url which you enter into the email template in the Global Set Up admin page. The customer will receive this url when they purchase the subscription.
This url is usually the index page within the secure area. So on my web site this would be:
https://
Entering this into the web browser will give a standard Basic Authentication pop up window where they enter the username / password.
If you wish to have a better looking log in box then you may use the pages in the folder /logincustomer/.
The sample page login.html uses Javascript to add an html form interface for the protected area.
You can see that the page contains a javascript file httpauth.js. You place an href link to the secure area in the body of the page.
In my example this is :
<a class="httpauth" id="basic" href="https://
Make sure that you have a class of "httpauth" and in the href you must place your own url of course.
When the page is loaded, it checks the browser type and displays a username / password form on the page. Authentication
with an html form does not work for Safari and Opera browsers, so in those cases the normal href link is displayed. Also, if
Javascript is not enabled in the browser, the normal href link is displayed.
Click here for an example html form on my web site
Incorporate the javascript file and the href link into any of your web pages giving you a better looking log in box.