PHP Classes

Packages of Heiko Dillemuth

Recommend this page to a friend!
  All class groups  >  All authors  >  Packages of Heiko Dillemuth (3)  >  Mission progress status  >  Reputation  
Picture of Heiko Dillemuth
Name: Heiko Dillemuth <contact>
Classes: 3
Country: Germany Germany
Age: 56
All time rank: 35720 in Germany Germany
Week rank: 195 Up8 in Germany Germany Up
All time users: 7542
Week users: 0
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image OO Auth  
Manage life time limited sessions securely
This class is meant to create and manage sessions used for authentication of users at a given site.

The class manages the storage of some control values in the session and also any variables defined by the developers and set by the application scripts.

It can create a session and validate its integrity to prevent stealing by verifying the if the IP address of the user that created the session is the same during all accesses, thus enforcing an additional security level.

It can also limit the life time of a session by verifying if it passed a given timeout period since its creation.

If the session is no longer valid because it was stolen or it exceeded its life time limit, the class will destroy the session and redirect to a given URL or display an error message. Error message can be localized.

  Files folder image Simple log class (oolog)  
Generate logs that are outputted to file or a page
This class generates logs that can be outputted either to either a file and/or to the current Web page.

When outputting to the current page to browser it supports html tags. Printing multi line Messages are no problem.

When writting the log to a file it can start by truncating the file or appending the new log lines at the end of an existing file.

In debug mode, the class marks the log output to notice the lines being added as debug mode.

For error messages (if needed with auto-exit) the ALL flag can be used to tell the class to output the log to either the file and the current page.

  Files folder image simplepass  
generates a simple random password string
This is a very simple function that returns a random alphanumeric string with a specified length.


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z