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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

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

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

Working with Binary Data [SOLVED]


Go to End


3 Posts   1358 Views

Avatar
zenmonkey

Community Member, 545 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, 545 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