Note that there are some explanatory texts on larger screens.

plurals
  1. POIntermittent empty $_POST issue
    primarykey
    data
    text
    <p>On our website, sometimes $_POST is relayed empty to the action pages.</p> <p>This happens for roughly about %1-2 of the forms submitted on a daily basis. This is about 50-100 corrupt form submissions per day currently.</p> <p>We are certain the data is there on the initial page. We tried sending the same data with $_POST and $_GET at the same time with the exact same values. $_GET reaches the action page all the time, but $_POST can arrive empty.</p> <p>Often times, this error happens to Webkit besed browsers. Also mobile phone browser seem to be more prone to this. IE browsers experience this less than the Webkit browsers. And very rarely it happens to Firefox as well.</p> <p>Current configuration is like this:<br> <strong>PHP Version 5.2.15<br> Centos 5<br> Apache 2.2.3</strong></p> <p>One thing we are discussing is to upgrade our PHP to 5.3.x. Does that sound like a reasonable try?</p> <p>Any suggestions on how we can try to debug this?</p> <p><strong>UPDATE:</strong> Submission form is as follows:</p> <pre><code>&lt;form action="submit.php?receiver_user_id=&lt;?php echo $_SESSION['receiver_user_id'];?&gt;&amp;sender_user_id=&lt;?php echo $_SESSION['user_id']; ?&gt;" method="post"&gt; &lt;textarea name="message_text" &gt;&lt;/textarea&gt; &lt;input type="hidden" name="receiver_user_id" value="&lt;?php echo $_SESSION['receiver_user_id'];?&gt; &lt;input type="hidden" name="sender_user_id" value="&lt;?php echo $_SESSION['user_id']; ?&gt; &lt;input type="image" name="submit" src="submit.png" value="submit"/&gt; &lt;/form&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

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