RE: [PHP] Reversing htmlspecialchars()
| From: | Rudi Benkoviè | Date: | Sat, 19 May 2001 22:29:13 +0000 |
| Subject: | RE: [PHP] Reversing htmlspecialchars() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-53566@lists.php.net to get a copy of this message | ||
function un_htmlentities($str) {
$trans = get_html_translation_table (HTML_ENTITIES);
$trans = array_flip ($trans);
$str = strtr ($str, $trans);
return ($str);
}
> -----Original Message-----
> From: Jeroen Geusebroek [mailto:Jeroen.Geusebroek@intellit.nl]
> Sent: Saturday, May 19, 2001 11:46 PM
> To: php-general@lists.php.net
> Subject: [PHP] Reversing htmlspecialchars()
>
>
> Hi There,
>
> How can i reverse the htmlspecialchars() functions?
> I can't seem to find a function for that.
>
> Thanks,
>
> Jeroen Geusebroek
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>