note 65495 added to function.htmlentities

From: Date: Tue, 02 May 2006 06:30:16 +0000
Subject: note 65495 added to function.htmlentities
Groups: php.notes 
Request: Send a blank email to php-notes+get-110330@lists.php.net to get a copy of this message
[EN]Simple and functional, it also removes all content HTML "&aacute; <b>" among others [pt-br]Simples e funcional, remove todo conteúdo html inclusive "&aacute; <b>" entre outros /////////////////////////////////////////////// function opposite_htmlentities ($string) { $trans_tbl = get_html_translation_table (HTML_ENTITIES); $trans_tbl = array_flip ($trans_tbl); return strip_tags(strtr ($string, $trans_tbl)); } ::robersonfox ---- Server IP: 66.163.161.117 Probable Submitter: 201.32.25.18 ---- X-Spam-Status: Yes, hits=7.4 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER, HEAD_ILLEGAL_CHARS autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.htmlentities.php Edit -- http://master.php.net/note/edit/65495 Del: integrated -- http://master.php.net/note/delete/65495/integrated Del: useless -- http://master.php.net/note/delete/65495/useless Del: bad code -- http://master.php.net/note/delete/65495/bad+code Del: spam -- http://master.php.net/note/delete/65495/spam Del: non-english -- http://master.php.net/note/delete/65495/non-english Del: in docs -- http://master.php.net/note/delete/65495/in+docs Del: other reasons-- http://master.php.net/note/delete/65495 Reject -- http://master.php.net/note/reject/65495 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#110330) next »