PHPlib Documentation

Kristian Kohntopp

Boris Erdmann

Sascha Schumann

Original body of work

New Team

The development of PHPlib is now looked after by a new team, details can be had from the credits page

Edited by

Tarique Sani

Sat Jan 19 17:14:33 IST 2002


Table of Contents

PHPlib Userguide
I Introduction
1 Introduction To PHPlib
What is PHPlib
License
PHPlib Acknowledgements
II Getting Started
2 Quick Start
Target Group and Prerequisites
Getting The Latest Version
Quick Guide to Installation
Using core features of PHPlib
Customizing the login screen
Customizing the permission levels
Creating new users
Creating an unprotected session page
Creating an protected session page
Creating protected functionality
Testing your install of PHPlib
Checking that the web server is up and running
Checking that the web server is executing CGI programs
Checking that the PHP interpreter is running (Assuming CGI PHP)
Checking that the PHP interpreter is running (Assuming mod_php)
Checking PHPlib inclusion
Checking database connectivity
Checking that sessions work
Checking that Authentication works
III Overview and Installation
3 Files, classes and functions
Customization
Core functionality
Extended functionality
HTML Widgets
4 Installation in detail
Downloading and unpacking the distribution
Requirements and things to check for
Interpreter requirements
Database requirements
Name space requirements
Installation procedure
Library Setup
Database access with MySQL
Merging PHPlib with your PHP files
Using include() instead of auto_prepend_file=
Using PHPlib with mod_php (Apache module)
IV Core Functionality
5 DB_Sql - Database Abstraction
DB_Sql Instance variables
DB_Sql Instance methods
Accessible Instance methods
Internal instance methods
DB_Sql Examples
Additional information about database connections
6 Page Management
Accessible Functions
Page Management Example
7 Session
Session Instance variables
Session Instance methods
Accessible Instance methods
Internal instance methods
Session Examples
Using "auto_init"
Unregistering variables and deleting sessions
Reading and understanding session data for debugging
How "serialize()" operates
PHP4 Sessions with PHPlib using session4.inc*
Preface
Quick Install
Changes since PHPlib-7.2c
Porting old sites PHPlib for PHP4
Creating new sites with PHPlib for PHP4
Download
PHP4 Sessions with PHPlib using session4_custom.inc*
Preface: Why the damn thing is happened.
How session4_cust.inc works
Differences from older PHPlib sessions
8 Authentication
Authentication Instance variables
Authentication Instance methods
Accessible Instance methods
Internal instance methods
Authentication Examples
Using default authentication
Using Challenge-Response Authentication
The complete guide to authentication and user variables
How is the Auth class used usually?
How does $auth work internally?
How do $sess and $auth interact?
Where is the beef?
I still do not understand! What am I supposed to code?
Ok, I did that and it works. I even understood it. Now, what exactly is that uid used for?
But is the uid used internally by PHPLIB?
9 Permissions
Permission Instance variables
Permissions Instance methods
Accessible Instance methods
Internal instance methods
Permissions Examples
How permissions work
V Extended Functionality
10 Template
Template Instance variables
Template Instance methods
Accessible Instance methods
Internal instance methods
Template Examples
11 Object Oriented HTML Forms
Using OOH Forms
Customizing OOH Forms