PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 57%Total: 432 All time: 6,307 This week: 673Up
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: 2964175 in Germany Germany
Week rank: 192 Up13 in Germany Germany Up

  Files folder image Files (11)  
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 (11)  /  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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:432
This week:0
All time:6,307
This week:673Up
 User Ratings  
 
 All time
Utility:83%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:57%StarStarStar
Rank:1656