RE: [PHP-ES] htmlspecialchars y htmlentities

From: Date: Thu, 09 Oct 2003 11:59:12 +0000
Subject: RE: [PHP-ES] htmlspecialchars y htmlentities
References: 1 2  Groups: php.general.es 
Request: Send a blank email to general-es+get-41438@lists.php.net to get a copy of this message
muchas gracias de verdad ----- Original Message ----- From: Jose A. Salido Moriel <jose_salido@terra.es> To: <lista@phpes.com> Sent: Thursday, October 09, 2003 1:45 PM Subject: Re: [PHP-ES] htmlspecialchars y htmlentities > tienes html_entity_decode() para php >= 4.3.0 > > si no es asi... > // 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); > } > > saludos > > > ----- Original Message ----- > From: "Hugo Vázquez López" <hugo@iberlibro.com> > To: <lista@phpes.com> > Sent: Thursday, October 09, 2003 1:12 PM > Subject: [PHP-ES] htmlspecialchars y htmlentities > > > > Buenas, mi pregunta es la siguiente, yo conozco las utilidades de > htmlentities y htmlspecialchars que me cambian > española por espa&ntilde;ola pero hay algo para hacer lo contrario de > espa&ntilde;ola pasar a española, un saludo, gracias > > > --------------------------------------------------------------------- > Archivo On-line: http://www.phpes.com/ > via news: news://news.phpes.com/ > Manual PHP en español: http://www.php.net/manual/es/ > Para dar de baja la suscripción, mande un mensaje a: > lista-unsubscribe@phpes.com > >

« previous php.general.es (#41438) next »