For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > June 2005 > DB_DataObject, BLOBS + base 64 encoding









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author DB_DataObject, BLOBS + base 64 encoding
Rob Agar

2005-06-10, 3:59 am

hi all

I'm using DB_DataObject to store uploaded documents in a BLOB field.
Strictly speeaking, should I base64 encode the data before giving it to
the DBDO? I thought it was necessary to do so, but now I try it
without any encoding, I find that it works no problem. Or is it working
just because I'm testing with trivial one line word docs?

I'm tempted to encode it anyway, but voodoo programming gives me the
heebie jeebies =)

cheers,
Rob
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com