I think the two strings are actually part of a single variable. For example:
s:8:"newusers";s:1:"0";s:14:"getthreadviews";s:1:" 0";
This would correspond to a variable called "newusers" with a value of "0" and a variable called "getthreadviews" with a value of "0" as well.
When it is processed by the unserialize(...) function it looks for pairs like this and converts them into PHP variables in an array. So if you called:
$test = unserialize(the above string);
You should then have:
$test[newusers] == 0
$test[getthreadviews] == 0
Hope that helps!
|