title: Encoding an array for url in PHP
body: <p>I have been working on some QR codes, I need to pass an array to the QR with the data but it needs encoding. The data itself is a <code>json_array</code> which is used to generate a PDF.</p>
  
  <p>If I use <code>base64</code> encoding the QR code is stupidly large, and when using <code>ascii85</code> it breaks the QR.</p>
  
  <p>Can you let me know of any encoding praticies which would work in the url, the shorted the coding the <code>betetr. qr_generator.php?data={encoded_json_array}</code></p>