PHP-Problem

Jeanot Bruchmann JeanotBruchmann at web.de
Tue Feb 26 11:51:54 UTC 2008


Hi there,

first, sorry for the poor english.

I hope, you can help me out with the follow problem:

PHP-Code:
$memcache = new Memcache;
$memcache->addServer('127.0.0.1', 11211);
$memcache->flush();
$memcache->set('Lock', "Locked");

if ($memcache->get('Lock'))
{
echo "Lock found";
}
else
{
echo "Lock not found";
}


Output:
Lock not found

Why???
Write PHP the Memcache after the Script has ended? Can you help me?

regards
Jeanot Bruchmann

_______________________________________
GRATIS: Movie-FLAT. Jetzt freischalten!
http://freemail.web.de/club/maxdome.htm



More information about the memcached mailing list