Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Things to check for in <code>php.ini</code>:</p> <ul> <li><code>post_max_size</code> # should be different from 0</li> <li><code>variables_order</code> # should be = "EGPCS"</li> <li><code>max_input_vars</code> # should be higher than the number of variables you pass</li> </ul> <p>Things to check for in the HTML form:</p> <ul> <li>the fields and submit button are inside the form</li> <li>the form has <code>method="POST"</code></li> <li>if the form has files, check the enctype, it should be <code>multipart/form-data</code>, if not it should be <code>application/x-www-form-urlencoded</code></li> <li>Look for <code>&lt;input type="hidden" name="MAX_FILE_SIZE" value="..." /&gt;</code> - is it big enough ? </li> </ul> <p>If all are fine, check if <a href="http://www.howtoforge.com/apache_mod_security" rel="nofollow noreferrer">mod_security</a> is enabled, and also check .htaccess for things like <code>RewriteCond %{REQUEST_METHOD} POST</code>, and the rule after it.</p> <p>Check if your browser sends the data. In Chrome network tab I see something like this:</p> <p><img src="https://i.stack.imgur.com/7a7gB.png" alt="enter image description here"> </p> <hr> <p>You can also try the following:</p> <pre><code>var_dump(get_defined_vars()); </code></pre> <p>or</p> <pre><code>$vars = get_defined_vars(); foreach ($vars as $var) { echo "&lt;br&gt;&lt;b&gt;{$var}&lt;/b&gt;"; var_dump($$var); } </code></pre> <p>and check the list of declared variables.</p> <p><strong>PS:</strong></p> <p>I presumed that you use Apache, since you <strong>didn't include this info</strong>. Also, try a different browser, and see if it changes anything.</p> <p><strong>PS2:</strong> I like to check config settings in the command line with:</p> <pre><code>~$ php -i | grep -i variables_order variables_order =&gt; GPCS =&gt; GPCS </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload