Sometimes we do not have all the things we want on a webserver and on shared hosting we cannot do much about it, so we find workarounds. This is the equivalent of the htmlspecialchars_decode function in PHP4. htmlspecialchars_decode is available only from PHP5, so this little function of mine can be quite handy on PHP4.

if ( !function_exists('htmlspecialchars_decode') )
{

function htmlspecialchars_decode($text)
{
return strtr($text, array_flip(get_html_translation_table(HTML_SPECIALCHARS)));
}

}