Jump to content

Reading binary


adam291086

Recommended Posts

Hey i am using .base64_encode() to encode and simple text file and store the result within my database. I am then decoding that value and getting

{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf430 {\fonttbl\f0\fswiss\fcharset0 Helvetica;} {\colortbl;\red255\green255\blue255;} \paperw11900\paperh16840\margl1440\margr1440\vieww9000\viewh8400\viewkind0 \pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural \f0\fs24 \cf0 kjfhsdkfhdskfhskdfhksdjfh}

 

how can i turn that back into its original content?

Link to comment
https://forums.phpfreaks.com/topic/149688-reading-binary/
Share on other sites

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.