PHP: mb_check_encoding - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

mb_convert_case Multibyte String

Last updated: Fri, 26 Jan 2007

view this page in

# mb_check_encoding

(no version information, might be only in CVS)

mb_check_encoding -- Check if the string is valid for the specified encoding

## Описание

bool mb_check_encoding ( [string var [, string encoding]] )

mb_check_encoding() checks if the string is valid for the specified encoding. It is useful to prevent so-called "Invalid Encoding Attack".

## Список параметров

`var`

  String to check. If it is omitted, this function checks all the input from the beginning of the request.

`encoding`

  Expected encoding.

## Возвращаемые значения

Возвращает `TRUE` в случае успешного завершения или `FALSE` в случае возникновения ошибки.

add a note User Contributed Notes
mb_check_encoding
There are no user contributed notes for this page.
mb_convert_case Multibyte String

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 11:33:19 2007 PST