All pastes #564611 Raw Edit

Mine

public text v1 · immutable
·published 2007-06-13 17:40 UTC
rendered paste body
In top of the page index.php this line added:
 include "Includes/Chars_Decode.php";

and in the file Chars_Decode.php i have this file:


<?php
/********************************
* This is for PHP Less then 5.1 *
********************************/

if (!function_exists('htmlspecialchars_decode')) 
 {
  function htmlspecialchars_decode($str, $options="")
   {
    $trans = get_html_translation_table(HTML_SPECIALCHARS, $options);

    $decode = ARRAY();
    foreach ($trans AS $char=>$entity) 
     {
      $decode[$entity] = $char;
     }

    $str = strtr($str, $decode);
    return $str;
   }
 }
?>