PHP Classes

Packages of Stefan Ihringer

Recommend this page to a friend!
  All class groups  >  All authors  >  Packages of Stefan Ihringer (2)  >  Mission progress status  >  Reputation  
Picture of Stefan Ihringer
Name: Stefan Ihringer <contact>
Classes: 2
Country: ???
Age: 65
All time rank: 813
Week rank: 195 Up
All time users: 3896
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 MultiCounter  
Site counter with monthly history feature
Apart from counting hits to an arbitrary number of pages this class has the following features: Each IP address is counted only once a day (however, no cookies are neccessary), the data is stored in a single text file (no database neccessary) and monthly snapshots of the counter are saved as well. Comments and examples included in source file.

  Files folder image Validator Class  
Validate values reverting to defaults when invalid
This class is meant to validate page request values eventually submitted using forms via POST or GET HTTP methods.

The class provides functions that retrieve values submitted in a request variable of a given name and then performs the specified type of validation.

The class provides many built-in types of validation like: is it a valid number, integer, boolean, name of variable, it contains only letters, is it a valid e-mail adress, is it an integer within a given range, or even determine if it is a valid URL by trying to access it.

The class also lets the developers choose its behavior when the value being validated is invalid. The validation functions may return either an empty string, null, zero, or any other default value.


  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