PHP : Function Reference : Multibyte String Functions : mb_http_input
anders jenbo pc dk
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.
|