PHP Classes

File: sample.php

Recommend this page to a friend!
  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: 22 years ago
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);
?>