PHP Classes

Very simple random text : Pick a random line from text line

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 610 All time: 5,134 This week: 488Up
Version License Categories
random 1.0Unspecified (ask ...Files and Folders, Text processing


This is a very simple class that can read a text file and return a random line from the file.

It can be used to show the "Quote of the day" that is seen in many site.

Picture of Amr Sobhy
Name: Amr Sobhy <contact>
Classes: 1 package by
Country: Egypt Egypt
Age: 35
All time rank: 303232 in Egypt Egypt
Week rank: 288 Up5 in Egypt Egypt Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file amr.php Example the class file
Plain text file random.class.php Class the class file
Accessible without login Plain text file Say.txt Data the plain text that contains phrases

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,134
This week:488Up