function writecache($filename, $contents, $debug, $secs2cache)
		{
			if (!$this->_connected) {
				$err = '';
				if (!$this->connect($err) && $debug) ADOConnection::outp($err);
			}
			if (!$this->_memcache) return false;

			if (!$this->_memcache->set($filename, $contents, $this->compress ? MEMCACHE_COMPRESSED : 0, $secs2cache)) {
				if ($debug) ADOConnection::outp(" Failed to save data at the memcached server!<br>\n");
				return false;
			}

			return true;
		}
function writecache($filename, $contents, $debug, $secs2cache)
		{
			if (!$this->_connected) {
				$err = '';
				if (!$this->connect($err) && $debug) ADOConnection::outp($err);
			}
			if (!$this->_memcache) return false;

			if (!$this->_memcache->set($filename, $contents, $this->compress ? MEMCACHE_COMPRESSED : 0, $secs2cache)) {
				if ($debug) ADOConnection::outp(" Failed to save data at the memcached server!<br>\n");
				return false;
			}

			return true;
		}
function writecache ( $ filename , $ contents , $ debug , $ secs2cache ) { if ( ! $ this -> _connected ) { $ err = '' ; if ( ! $ this -> connect ( $ err ) && $ debug ) ADOConnection :: outp ( $ err ) ; } if ( ! $ this -> _memcache ) return false ; if ( ! $ this -> _memcache -> set ( $ filename , $ contents , $ this -> compress ? MEMCACHE_COMPRESSED : 0 , $ secs2cache ) ) { if ( $ debug ) ADOConnection :: outp ( " Failed to save data at the memcached server!<br>\n" ) ; return false ; } return true ; }
returns true or false. true if successful save
returns true or false . true if successful save