note 98829 added to function.filter-input

From: Date: Fri, 09 Jul 2010 16:52:36 +0000
Subject: note 98829 added to function.filter-input
Groups: php.notes 
Request: Send a blank email to php-notes+get-170840@lists.php.net to get a copy of this message
I'm not so sure you can edit the filters' behavior, but what about running through the comment after and replacing the encoded \n with the break tags? Something like this (untested): function encoded_nl_to_br($string) { $newString = str_replace("&#10;", "<br />", $string); return $newString; } ---- Server IP: 64.71.164.2 Probable Submitter: 70.91.33.17 ---- Manual Page -- http://www.php.net/manual/en/function.filter-input.php Edit -- https://master.php.net/note/edit/98829 Del: integrated -- https://master.php.net/note/delete/98829/integrated Del: useless -- https://master.php.net/note/delete/98829/useless Del: bad code -- https://master.php.net/note/delete/98829/bad+code Del: spam -- https://master.php.net/note/delete/98829/spam Del: non-english -- https://master.php.net/note/delete/98829/non-english Del: in docs -- https://master.php.net/note/delete/98829/in+docs Del: other reasons-- https://master.php.net/note/delete/98829 Reject -- https://master.php.net/note/reject/98829 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#170840) next »