memcache.php can delete keys now
by Harun Yayli on Wednesday, July 30th, 2008 at 9:50 am under Memcached, PHP, pecl
I’m receiving great comments from everyone since I’ve posted my memcache.php script. Thank you everyone.
I’ve just finished updating the memcache.php to support key deletion.
File is now updated and you can get it from here.
It’ll be updated on the cvs of pecl/memcache soon.
enjoy.
Recent Entries
- PHP Gurus in Montreal – I’m looking for 3 of them!
- Looking for 2 PHP Developers in Montreal (Senior and Intermediate)
- The difference between a bug and a feature
- Designing for Social Traction
- How to make Facebook shared links appear nice
- new pecl/memcache is out with memcache.php
- memcache.php flushes servers
- memcache.php can delete keys now
- memcache.php is now part of pecl/memcache
- memcache.php goes PECL
Nice script. I added an anchor around line 796, so on large lists you can directly jump to a dumped slab:
code
…
$j = 0;
foreach($items as $server => $entries) {
$j++;
echo <<< EOB
$server
Slab IdInfo
EOB;
foreach($entries as $slabId => $slab) {
$dumpUrl = $PHP_SELF.’&op=2&server=’.(array_search($server,$MEMCACHE_SERVERS)).’&dumpslab=’.$slabId.’#’.$j.’_’.$slabId;
echo
“”,
““,’‘,$slabId,’‘,”",
…
/code
Keep it up
July 31st, 2008 at 4:14 amAs expected, the code got borked… I guess you got the idea anyway.
July 31st, 2008 at 4:16 am@marcus
Thanks!
August 2nd, 2008 at 4:32 pmAwsome app!
I keep getting this error:
Notice: Undefined index: evicted in memcache.php on line 811
August 20th, 2008 at 3:38 pm