RE: [PHP-WIN] html_entity_decode

From: Date: Sat, 15 Feb 2003 17:18:18 +0000
Subject: RE: [PHP-WIN] html_entity_decode
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-18551@lists.php.net to get a copy of this message
I found this in the PHP Manual, but I haven't tried it: // For users prior to PHP 4.3.0 you may do this: function unhtmlentities ($string) { $trans_tbl = get_html_translation_table (HTML_ENTITIES); $trans_tbl = array_flip ($trans_tbl); return strtr ($string, $trans_tbl); } |-----Original Message----- |From: Bobo Wieland [mailto:dev@elstudion.com] |Sent: Saturday, February 15, 2003 10:56 AM |To: php-windows@lists.php.net |Subject: [PHP-WIN] html_entity_decode | | |Hi! | |i just noticed that the server I'm using doesn't got the |latest version of PHP installed... Until I get the people |managing it to upgrade, does anyone have the function |html_entity_decode-code so that I can include it in my pages? | | |.bobo | | |-- |PHP Windows Mailing List (http://www.php.net/) |To unsubscribe, visit: http://www.php.net/unsub.php | | |

« previous php.windows (#18551) next »