what happen with my memcache (and php), please help
Tsz Ming WONG
tszming at gmail.com
Fri Mar 9 03:32:20 UTC 2007
> In both cases, I only get 'This key is NOT set'.
what you can find in the memcached via getStats() after you run your program?
such as total_items, get_hits, get_misses etc
> I donot know why. I think that my code is very clear.
did your $key contains a space?
$key = "this is a test";
echo $memcache->get($key); // print out "1", as expected
echo $key; // print out "this_is_a_test"
More information about the memcached