Issue
I am developing a program to store binary image data, and I've decided to use memcached for the cache layer. I don't actually get any error but when I store the binary data in it doesn't quite work.This is what the output of the array is , Look closely at where it says Profile_Pic, the value is just one character
This is the code I use to update the memcaches array. Note that storing regular
values in memcached works fine.
<?php $unit_array=$this->Memc->getByKey("Unit_Array_Casting_Server",$unit_name);
$unit_array[$uuid][$keyname]=$keyvalue;
$this->Memc->setByKey("Unit_Array_Casting_Server",$unit_name,$unit_array); ?>
Solution
Nevermind, it turns out the issue was a internal code issue, I was inputing $keyvalue variable as an array which it is not.
Answered By - TheVastNetwork Answer Checked By - Gilberto Lyons (PHPFixing Admin)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.