[wp-hackers] question regarding serialization and unserialization
    Jeff Minard 
    jeff at jrm.cc
       
    Thu Sep 28 06:19:50 GMT 2006
    
    
  
Scott Plumlee wrote:
> The only thing that is strange is that only ONE particular value (for a 
> plugin, it's in the wp_options table) seem to NOT be unserialized 
> correctly.  Most of the values seem fine, but this one in particular is 
> no longer recognized as an array.
Yeah, I think you have to change not only the string in question, but 
also the definition of how long the string is.
something like
  "s:5,s:abcdef"  ->  "s:6,s:abcdef"
-- 
/\_Jeff Minard_____________________________________
\/ http://jrm.cc/ http://bf2s.com/ http://cnet.com/
    
    
More information about the wp-hackers
mailing list