Take byte array and parse and downloadable pdf in PHP
I have not been able to find a solution using PHP. Basically, when a user clicks on the "download PDF" link, It will call a PHP function that takes a byte array and parses it as a PDF. I dont know how to go about it. Any help would be great!

I am using this JSON and calling a WCF service and returning the byte array based on the ID. 

    {"id":"MO-N007175A","username":"***@****apital.com","password":"password"}
I included the JSON just in case it helps to give you an idea of what I need. Thanks.
Take byte array and parse and downloadable pdf in PHP
===

I have not been able to find a solution using PHP. Basically, when a user clicks on the "download PDF" link, It will call a PHP function that takes a byte array and parses it as a PDF. I dont know how to go about it. Any help would be great!

I am using this JSON and calling a WCF service and returning the byte array based on the ID. 

    {"id":"MO-N007175A","username":"***@****apital.com","password":"password"}
I included the JSON just in case it helps to give you an idea of what I need. Thanks.