note 92654 added to function.strip-tags

From: Date: Sun, 02 Aug 2009 17:18:10 +0000
Subject: note 92654 added to function.strip-tags
Groups: php.notes 
Request: Send a blank email to php-notes+get-159014@lists.php.net to get a copy of this message
I can confirm the same thing that eric at direnetworks dot com said... I too am trying to pass paypal code through this function, and it is removing one of the input tags (with a lengthy value) but leaving one of the others. I have allowed the input and form tags. I am getting this behavior in PHP 5.3, so it seems to have remained this way. Does anyone know a reason why PHP might be doing this, and is there a known workaround that still ensures tags are all being properly filtered and not just "let by"? ---- Server IP: 212.63.193.10 Probable Submitter: 83.233.149.159 ---- Manual Page -- http://www.php.net/manual/en/function.strip-tags.php Edit -- https://master.php.net/note/edit/92654 Del: integrated -- https://master.php.net/note/delete/92654/integrated Del: useless -- https://master.php.net/note/delete/92654/useless Del: bad code -- https://master.php.net/note/delete/92654/bad+code Del: spam -- https://master.php.net/note/delete/92654/spam Del: non-english -- https://master.php.net/note/delete/92654/non-english Del: in docs -- https://master.php.net/note/delete/92654/in+docs Del: other reasons-- https://master.php.net/note/delete/92654 Reject -- https://master.php.net/note/reject/92654 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#159014) next »