Paypal Member Script > Paypal Member Script | Support Desk > Knowledgebase

Ask a question:

There is NO "login.php" file

Solution Are you looking for "login.php" file or the source code for the login box??? If yes, then read this article...

There is NO "login.php" file in the zip package for Paypal Member Script.

Indeed, a separate "login.php" file is NOT required. Here is how:

Depending on a visitor's logged-in status, the script either shows the login box or the regular content of that page.

When a visitor tries to access a protected page - the script checks his logged-in status:

If the visitor is logged into the member's area, then PMS shows him the regular content of the page. But if the visitor is not logged-in to the member's area, then PMS shows him the login box.


Code for the login box:
Source code of the login box is available in the file - "unauthorized.php" file.
Was this article helpful? yes / no
Article details
Article ID: 8
Category: Operations
Date added: 2010-08-13 05:46:04
Views: 1843
Rating (Votes): Article rated 3.6/5.0 (14)

<< Go back

Powered by Help Desk Software HESK™