PHP Classes

Classes of S.M.

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of S.M. (1)  >  Mission progress status  >  Reputation  
Picture of S.M.
Name: S.M. <contact>
Classes: 1
Country: Switzerland Switzerland
Age: ???
All time rank: 324229 in Switzerland Switzerland
Week rank: 165 Up3 in Switzerland Switzerland Up
All time users: 514
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 PHP 5 Fortune Class  
Pick a random quote from pre-defined text files
This class is a PHP slight alternative to the well-known fortune telling utility.

It reads plain text files that define the fortunes and picks one text quote that usually is presented to the user.

Since all fortunes are defined in plain text files, it is easy to add more fortunes.

The class pick quotes from a specific fortune file or from a random fortune file present in a given directory.


  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