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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to