DB_DataObject, BLOBS + base 64 encoding
| From: | Rob Agar | Date: | Thu, 09 Jun 2005 23:59:54 +0000 |
| Subject: | DB_DataObject, BLOBS + base 64 encoding | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-19587@lists.php.net to get a copy of this message | ||
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