phpns-team team mailing list archive
-
phpns-team team
-
Mailing list archive
-
Message #00120
Re: [Question #41332]: Fatal error: Call to undefined function: htmlspecialchars_decode()
Question #41332 on phpns changed:
https://answers.launchpad.net/phpns/+question/41332
alecwh proposed the following answer:
Hey Primus,
That's interesting, the function is defined in the PHP manual:
http://us3.php.net/htmlspecialchars_decode
Marked as: (PHP 5 >= 5.1.0)
You should have it, but you don't. You can try defining a function
yourself:
function htmlspecialchars_decode($str) {
return strtr($str,
array_flip(get_html_translation_table(HTML_SPECIALCHARS)));
}
I found that in the PHP.net comments. I don't know if it will work, but
you should try it.
--
You received this question notification because you are a member of
Phpns-team, which is an answer contact for phpns.