Last active
August 29, 2015 14:12
-
-
Save rogeriopradoj/c349690d7ba7693eef42 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: appendices/ini.core.xml | |
=================================================================== | |
--- appendices/ini.core.xml (revision 335516) | |
+++ appendices/ini.core.xml (working copy) | |
@@ -1,5 +1,5 @@ | |
<?xml version="1.0" encoding="utf-8"?> | |
-<!-- EN-Revision: 329119 Maintainer: fibbarth Status: ready --> | |
+<!-- EN-Revision: 329119 Maintainer: fibbarth Status: wip --><!-- CREDITS: fibbarth, henriquemoody --> | |
<section xml:id="ini.core" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> | |
<title>Descrição das principais diretivas do &php.ini;</title> | |
@@ -966,12 +966,12 @@ | |
</term> | |
<listitem> | |
<simpara> | |
- Disabling this option causes <varname>$_POST</varname> and | |
- <varname>$_FILES</varname> <emphasis>not</emphasis> to be populated. | |
- The only way to read postdata will then be through the | |
- <link linkend="wrappers.php">php://input</link> stream wrapper. | |
- This can be useful to proxy requests or to process | |
- the POST data in a memory efficient fashion. | |
+ Desabilitar esta opção faz com que <varname>$_POST</varname> e | |
+ <varname>$_FILES</varname> <emphasis>não</emphasis> sejam populados. | |
+ A única forma de ler os dados de entrada será então através do stream | |
+ wrapper <link linkend="wrappers.php">php://input</link>. | |
+ Isso pode ser útil para interceptar requisições ou processar os dados | |
+ POST na memória de forma eficiente. | |
</simpara> | |
</listitem> | |
</varlistentry> | |
@@ -983,28 +983,31 @@ | |
</term> | |
<listitem> | |
<simpara> | |
- Sets max size of post data allowed. This setting also affects | |
- file upload. To upload large files, this value must be larger | |
- than <link linkend="ini.upload-max-filesize">upload_max_filesize</link>. | |
+ Define o tamanho máximo de dados POST permitidos. Esta configuração | |
+ também afeta o carregamento de arquivo. Para carregar grandes arquivos, | |
+ este valor deve ser maior do que <link | |
+ linkend="ini.upload-max-filesize">upload_max_filesize</link>. | |
</simpara> | |
<simpara> | |
- If memory limit is enabled by your configure script, <link | |
- linkend="ini.memory-limit">memory_limit</link> also affects | |
- file uploading. Generally speaking, | |
- <link linkend="ini.memory-limit">memory_limit</link> should be | |
- larger than <parameter>post_max_size</parameter>. | |
+ Se <option role="configure">--enable-memory-limit</option> for | |
+ habilitado no seu script configure, <link | |
+ linkend="ini.memory-limit">memory_limit</link> também afeta o | |
+ upload de arquivos. De um modo geral <link | |
+ linkend="ini.memory-limit">memory_limit</link> deve ser maior do que | |
+ <parameter>post_max_size</parameter>. | |
</simpara> | |
&ini.shorthandbytes; | |
<simpara> | |
- If the size of post data is greater than post_max_size, the | |
- <varname>$_POST</varname> and <varname>$_FILES</varname> | |
- <link linkend="language.variables.superglobals">superglobals</link> | |
- are empty. This can be tracked in various ways, e.g. by passing the | |
- <varname>$_GET</varname> variable to the script processing the data, | |
- i.e. <literal><form action="edit.php?processed=1"></literal>, | |
- and then checking if <varname>$_GET['processed']</varname> is set. | |
+ Se o tamanho dos dados POST forem maiores do que | |
+ <parameter>post_max_size</parameter>, as <link | |
+ linkend="language.variables.superglobals">superglobais</link> | |
+ <varname>$_POST</varname> e <varname>$_FILES</varname> serão vazias. | |
+ Isso pode ser rastreado de diversas formas, por exemplo, passando a | |
+ variável <varname>$_GET</varname> para o script que processa os dados, | |
+ algo como <literal><form action="edit.php?processed=1"></literal>, | |
+ e verificando se <varname>$_GET['processed']</varname> está definido. | |
</simpara> | |
<para> | |
<note> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment