PHP Classes
elePHPant
Icontem

Smileys To IMG: Replace smiley text with the respective image tags

Recommend this page to a friend!
  Info   View files View files (11)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2011-04-11 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 429 All time: 5,967 This week: 1,353Up
Version License PHP version Categories
smileys-2-img 1.0GNU General Publi...3.0HTML, PHP 5, Text processing
Description Author

This class can replace smiley text with the respective image tags.

It can process a given text string by finding and replacing known smiley text segments by HTML IMG tags that represent the smileys as graphic images.

The list of smiley text sequences that is replaced by smiley images can be defined in an external configuration file in the INI format.

Picture of Johannes
Name: Johannes <contact>
Classes: 2 packages by
Country: Germany Germany
Age: ???
All time rank: 2774170 in Germany Germany
Week rank: 1373 Up59 in Germany Germany Up

  Files folder image Files  
File Role Description
Files folder imageimages (8 files)
Accessible without login Plain text file example.php Example Example file
Plain text file smiley.php Class class source
Accessible without login Plain text file smiley.txt Data configuration file

  Files folder image Files  /  images  
File Role Description
  Accessible without login Image file evil.gif Icon smiley image
  Accessible without login Image file frown.gif Icon smiley image
  Accessible without login Image file grin.gif Icon smiley image
  Accessible without login Image file openmouth.gif Icon smiley image
  Accessible without login Plain text file readme_daz.txt Lic. licence text of external images
  Accessible without login Image file smile.gif Icon smiley image
  Accessible without login Image file tongue.gif Icon smiley image
  Accessible without login Image file wink.gif Icon smiley image

 Version Control Unique User Downloads Download Rankings  
 0%
Total:429
This week:0
All time:5,967
This week:1,353Up