note 78689 added to function.mb-http-input
| From: | andersjenbopcdk at osu1 dot php dot net | Date: | Tue, 23 Oct 2007 15:00:51 +0000 |
| Subject: | note 78689 added to function.mb-http-input | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-131663@lists.php.net to get a copy of this message | ||
As this does not seam to work (always returns "pass"). you can use
$encoding = mb_detect_encoding(urldecode($REQUEST_URI), 'UTF-8, UTF-7, ASCII, EUC-JP,SJIS,
eucJP-win, SJIS-win, JIS, ISO-2022-JP, ISO-8859-1');
to detect the encoding of the url instead, similare steps could be taken to deteck cookies and post
data although it would have to be done for each value.
----
Server IP: 86.58.145.50
Probable Submitter: 87.60.178.209
----
Manual Page -- http://www.php.net/manual/en/function.mb-http-input.php
Edit -- https://master.php.net/note/edit/78689
Del: integrated -- https://master.php.net/note/delete/78689/integrated
Del: useless -- https://master.php.net/note/delete/78689/useless
Del: bad code -- https://master.php.net/note/delete/78689/bad+code
Del: spam -- https://master.php.net/note/delete/78689/spam
Del: non-english -- https://master.php.net/note/delete/78689/non-english
Del: in docs -- https://master.php.net/note/delete/78689/in+docs
Del: other reasons-- https://master.php.net/note/delete/78689
Reject -- https://master.php.net/note/reject/78689
Search -- https://master.php.net/manage/user-notes.php