Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Working with Binary Data [SOLVED]


Reply


3 Posts   1095 Views

Avatar
zenmonkey

Community Member, 532 Posts

21 December 2010 at 2:00pm

Is there anyway to work with BinaryData and BLOB tables in Silverstripe?

Avatar
Petersson

Community Member, 1 Post

27 January 2011 at 12:12am

up

How?

Avatar
zenmonkey

Community Member, 532 Posts

27 January 2011 at 3:06am

Actually I ended up using base64_encode() and base64_decode() to sore the BLOB as text.

http://www.php.net/manual/en/function.base64-encode.php
http://www.php.net/manual/en/function.base64-decode.php

It seemed to work fine with data that was AES_encrypt-ed