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

search for in the

Tipos de Recurso> <Instalação
[edit] Last updated: Fri, 17 May 2013

view this page in

Configurações em Execução

O comportamento dessas funções podem ser modificado pelas configurações do php.ini.

Opções de configuração da Filter
Nome Padrão Modificável Changelog
filter.default "unsafe_raw" PHP_INI_PERDIR PHP_INI_ALL na filter <= 0.9.4. Disponível desde PHP 5.2.0.
filter.default_flags NULL PHP_INI_PERDIR PHP_INI_ALL na filter <= 0.9.4. Disponível desde PHP 5.2.0.
Para mais detalhes e definições dos modos PHP_INI_*, veja Aonde uma configuração deve ser definida.

Here's a short explanation of the configuration directives.

filter.default string

Filtra todas informações $_GET, $_POST, $_COOKIE and $_REQUEST com este filtro. A informação original pode ser acessada através da filter_input().

Aceita o nome do filtro que você quer usar por padrão. Veja a lista de filtros existentes pela lista de nomes de filtros.

filter.default_flags integer

Flags padrão



add a note add a note User Contributed Notes Configurações em Execução - [1 notes]
up
0
warbaby67 at gmail dot com
2 years ago
filter.default sets the default FILTER by name.
filter.default_flags sets default FLAGS for the default filter.

The values for filter.default should be a string "name" of a valid FILTER: 

"int"      FILTER_VALIDATE_INT
"boolean"  FILTER_VALIDATE_BOOLEAN        

The irony of the entire list I typed being blocked by the SPAM filter is not lost on me.  Perhaps I'm not the first.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites