Projects / PHP-Authentication


PHP-Authentication works like the Tomcat authentication. You give the source to authenticate against (DB, file, XML-RPC, etc.) and the directories that shall be protected, and the class handles the rest. No including of any call to a class method on every page is necessary. You can also use it as if it were a standard Auth-class, using a call to "isLoggedIn" on every page that shall be protected.


Recent releases

  •  11 Mar 2003 10:49

    Release Notes: Optional logging using the 'logFile' option was added. Session handling was cleaned up, and globals are no longer used. Issues with Windows were fixed, and the isUrlProtected method was optimized to work better under Windows.

    •  15 Feb 2003 05:11

      Release Notes: A new 'ignoreForHash' option was added, and many E_ALL warnings were fixed.

      •  17 Sep 2002 09:56

        Release Notes: This release includes a stable LDAP authentication module.

        •  21 Aug 2002 09:49

          Release Notes: The package can now be installed using the pear installer. Support was added for LDAP, NIS, IMAP, and POP3. The setData method now also takes an array for adding more data at once. Some minor fixes and changes were made.

          •  24 May 2002 18:42

            Release Notes: This release works properly on PHP 4.1 and later. There are some bugfixes. Upadting is recommended, especially if you use the memory container. This release will save GET data for a requested URL, which makes integration of Auth in an existing application even easier.

            Recent comments

            22 Mar 2002 10:24 wolfram

            Configuration for each File/Directory desired?
            I was thinking if I implement a mechanism, which lets you put a simple xml-file in a directory, or in each file, which lets you determined how the current page/directory shall be protected. Is there any interest for such a thing?
            The following example piece of XML, could then go either in the file or directory for which those options shall be set.
            <!-- protect the current file/directory?? -->
            <protect value="no"/>

            <!-- define the login page for this file/directory --->
            <loginPage value="/path/to/specialLogin.php"/>


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.