some scripts or PHP functions to deal with sessions and co.
you can click on every built-in PHP function in the code to see the PHP manual entry for that function.

choose the function or script you need from the category “sessions and co”

basic authorization (download - demonstration)

basic authorization script to protect pages like administration, upload etc. put this code at the beginning of the page you want to protect.

sessions class (download)

session class for an easy session handling.

see also session and user-management PHP Classes