title: Accessing ArrayBuffer from PHP $_POST after xmlHTTPrequest send()
body: <p>I'm following the tuitions on XMLHttpRequest 2 from :</p>
  
  <p><a href="https://developer.mozilla.org/en/DOM/XMLHttpRequest/Sending_and_Receiving_Binary_Data" rel="nofollow">https://developer.mozilla.org/en/DOM/XMLHttpRequest/Sending_and_Receiving_Binary_Data</a>
  and 
  <a href="http://www.html5rocks.com/en/tutorials/file/xhr2/#toc-send-arraybuffer" rel="nofollow">http://www.html5rocks.com/en/tutorials/file/xhr2/#toc-send-arraybuffer</a></p>
  
  <p>They're great tutorials for the client side, and here is a working extract from my script: </p>
  
  <pre><code>var imagebuffer = new ArrayBuffer(size);  // create the readonly memory buffer
  var imagedata= new Uint8Array(imagebuffer); // create a view to manipulate data
  </code></pre>
  
  <p>// do some cool stuff with imagedata</p>
  
  <pre><code>var exchange=new XMLHttpRequest();
  exchange.open("POST",url,true);
  exchange.send(arraybuffer);
  </code></pre>
  
  <p>So far so good, and I can see from the both client and server control panels that plenty of data is being transferred.</p>
  
  <p>Here's my problem: how do I access the ArrayBuffer with PHP at the server?
  I'm used to the $_POST superglobal wanting parameters passing from a HTML form so it can be accessed as an array but I can't find any reference for how to access this binary array and stick it in my MySQL database.</p>