I want to encode binary file into base64 and put it into php page (inline with the code), And when request that page it streams the file to the browser,popup a download dialog.
Any ideas
I want to encode binary file into base64 and put it into php page
Share
Seems pretty straightforward. As with readfile, use http headers to force download, and then echo the encoded string.