Re: Memcache function usage

From: Date: Sun, 10 Sep 2006 04:30:34 +0000
Subject: Re: Memcache function usage
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-241553@lists.php.net to get a copy of this message
Chris wrote:
Hi, I'm trying to use memcache ( http://uk2.php.net/manual/en/function.memcache-add.php ) but I'm having a problem. When using the add/set functions I want to set an expire time, but dont want the data to be compressed (using small strings it seems silly to try to and compress), what do I put for flags to allow me to use the extra expire parameter? Just pass NULL or 0 as the flags argument, and pass the expiry time as usual. E.g. $obj->add/set($var,$val,0,$expiry)
jon

« previous php.general (#241553) next »