title: Array being chopped off over ajax post. Ajax posting limit?
body: <p>I have a multidimensional array, which consists of 426 smaller arrays, which also comprise of 4 attributes.. Below is an example of one of 426 arrays...</p>
  
  <pre><code>    array( //Main array
            0 =&gt; array( //1 of 426 arrays
                 'name' =&gt; 'Danny', 
                 'email' =&gt; 'your@email.com', 
                 'picture_url' =&gt; 'http://www.website.com', 
                  'score' =&gt; 89
            ),
      )
  </code></pre>
  
  <p>I'm posting this array with jquery's ajax functions to a php file, which adds them to a database... My problem is that the array seems to be chopped off when it's posted to the php file. Only about half the array actually reaches the php file...</p>
  
  <p>This has led me to believe that there may be a file size limit when posting over ajax. However, the size of my array seems to be relatively small..</p>
  
  <p>I'm running my application on WAMP..</p>
  
  <p>Can anyone shed some light what's possibly happening?</p>
  
  <p>UPDATE:</p>
  
  <p>I'm posting my array like so:</p>
  
  <pre><code>$.ajax({
    type: "POST",
    url: "invite_friends.php",
    data: {
      theID: me.id,
      friends: multidimensional_array //This is the array &lt;---
    },
    success: function(data, textStatus, jqXHR) {
      return console.log(data);
    },
    error: function(jqXHR, textStatus, errorThrown) {
      return alert("Error: Oops, there has been a problem");
    }
  });
  </code></pre>
  
  <p>And I retrieve my array (in invite_friends.php) like so..</p>
  
  <pre><code>if($_POST['friends']) {
      $friends = $_POST['friends'];   
  } else {
      $friends = FALSE;
  } 
  </code></pre>