PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have a PDF byte array that I need to transform back into a PDF file. Has anyone ever done this, or transformed a byte array of anything back into a file using PHP?
My output looks like this right now - just kind of at a loss on how to turn the sucker back into a file.
object(stdClass)[3]
public 'getObjResult' => string '%PDF-1.7
%âãÏÓ
38 0 obj
<</Linearized 1/L 118188/O 43/E 96704/N 2/T 117308/H [ 2176 488]>>
endobj
xref
38 94
0000000016 00000 n
0000002664 00000 n
0000002756 00000 n
0000003206 00000 n
........ so on and so forth