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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   1428 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