note 100391 added to function.htmlentities

From: Date: Wed, 13 Oct 2010 05:07:16 +0000
Subject: note 100391 added to function.htmlentities
Groups: php.notes 
Request: Send a blank email to php-notes+get-173179@lists.php.net to get a copy of this message
Regarding my just posted function (see below): despite careful attention, the typo crept in. Or didn't get removed, even though I used global search and replace. In the definition for the $userOpts array, $skip_DQuotes should be $skip_Quotes. And I tried again and again to shrink it down to fit the comments limit. I meant to change the default settings for $strip_formatting=FALSE and $tabspacing=8, to more properly reflect real world needs, not my latest project. And be careful about the default setting for $allowJS, and the HTML tags you allow, if you want to use this for $_POSTs from the WWW. Beyond that, I think it survived the mutilation needed to fit it in... Most options are TRUE/FALSE with $collapse_spaces also allowing "toXHTML"; otherwise the option 'should' (ahem-cough-cough) be self explanatory. Peace, y'all!!! ---- Server IP: 69.147.83.197 Probable Submitter: 74.160.133.170 ---- Manual Page -- http://www.php.net/manual/en/function.htmlentities.php Edit -- https://master.php.net/note/edit/100391 Del: integrated -- https://master.php.net/note/delete/100391/integrated Del: useless -- https://master.php.net/note/delete/100391/useless Del: bad code -- https://master.php.net/note/delete/100391/bad+code Del: spam -- https://master.php.net/note/delete/100391/spam Del: non-english -- https://master.php.net/note/delete/100391/non-english Del: in docs -- https://master.php.net/note/delete/100391/in+docs Del: other reasons-- https://master.php.net/note/delete/100391 Reject -- https://master.php.net/note/reject/100391 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#173179) next »