PHP Classes

Today's Joke: Retrieve the today's joke from the jokes2go site

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 62%Total: 432 All time: 6,274 This week: 198Up
Version License Categories
todayjoke 1.0GNU General Publi...Web services
Description Author

This is a very simple class that can be used to retrieve the today's joke from the Web site.

It accesses the site and retrieves the today's joke page. The page contents is clipped to extract the joke text, which is returned as string.

Picture of Ashraf Gheith
  Performance   Level  
Name: Ashraf Gheith <contact>
Classes: 9 packages by
Country: Bosnia and Herzegovina Bosnia and Herzegovina
Age: 39
All time rank: 131 in Bosnia and Herzegovina Bosnia and Herzegovina
Week rank: 30 Down1 in Bosnia and Herzegovina Bosnia and Herzegovina Equal
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file class.joke.php Class Main Class
Accessible without login Plain text file index.php Example Example file

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,274
This week:198Up
 User Ratings  
 All time