Jump to content

Base64 decode to PDF, save PDF on server.


monkeytooth

Recommended Posts

How can I take a base64 encoded PDF and decode it then save it on my server for linking back to the saved file later?

 

I have searched for some time now on multiple forms and with google, and I have come up empty handed for anything that can even push me in the right direction. Maybe my search terms are poorly constructed, I don't know. What I do know is I need help, any help building this up.

 

The string that is the base64 encoded pdf comes to me via an xml feed and is dynamically generated through the USPS system. I have tested the encoded strings in 3rd party apps I have found along my search for finding a way to do it with php, and it does work in those.

 

So if anyone has any experience with this, or can point me towards a decent document (other than the php.net site for the encode manual) that can help me out, or if anyone wants to throw me a demo concept to work with, I would be greatly appreciative of that.

 

Link to comment
https://forums.phpfreaks.com/topic/183675-base64-decode-to-pdf-save-pdf-on-server/
Share on other sites

If this is an impossible task, someone please let me know. I keep digging through site after site after site looking for something that can even remotely help me.. and I'm not coming up with anything. Starting to feel a bit helpless.. Im like 0 for 0 here over the past couple weeks with any posts I make.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.