Login   Register  
PHP Classes
elePHPant
Icontem

File: sample.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Alessander Thomaz  >  html_reverse  >  sample.php  >  Download  
File: sample.php
Role: Example script
Content type: text/plain
Description: Sample
Class: html_reverse
Reverse html chars, sample: ã = ã or ã = a
Author: By
Last change:
Date: 2002-09-03 14:30
Size: 308 bytes
 

Contents

Class file image Download
<?
// Author: Alessander Thomaz
// Brasil - SP
// 07-03-2002

include('class.html_reverse.php');
$convert = new html_reverse;
$text 'Ãçéìôü';
$text2 htmlentities($text);

echo 
$text2;
echo 
"<br>\n";
echo 
$convert->un_htmlentities($text2);
echo 
"<br>\n";
echo 
$convert->un_accent($text);
?>