PHP Function List
memcache_connect doesn't exist. Closest matches:
- m_connect
- hw_connect
- ibase_connect
- maxdb_connect
- memcache_debug
- socket_connect
- memcache
- sybase_connect
- ibase_pconnect
- yaz_connect
- hw_pconnect
- oci_connect
- maxdb_real_connect
- oci_new_connect
- sybase_pconnect
- ssh2_connect
- odbc_connect
- ldap_connect
- oci_pconnect
- msql_connect
Site Search Results
-
Memcache::connect() establishes a connection to the memcached server. The connection, which was opened using Memcache::connect() will be automatically closed at the end of script execution. Also you can close it with Memcache::close().
-
Memcache::connect() は、memcached サーバーへの接続を 確立します。 Memcache::connect() を使用してオープンされた接続は、 スクリプトの実行終了時に自動的に閉じられます。
-
Memcache::close — Close memcached server connection Memcache::connect — Open memcached server connection Memcache::decrement — Decrement item's value Memcache::delete — Delete item from the server Memcache::flush — Flush all existing items at the server
-
2. the connection with the two hosts will be established differently because of how memcache_connect() and memcache_add_server() work. Therefore the memcache_connect() will initiate the connection to localhost through the loopback interface when it is called ...
-
$memcache_obj = memcache_connect ('memcache_host', 11211); /* set value of item with key 'var_key' using 0 as flag value, compression is not used expire time is 30 seconds */ memcache_set ($memcache_obj, 'var_key', 'some variable', 0, 30);
-
$memcache_obj = memcache_connect ('memcache_host', 11211); $var = memcache_get ($memcache_obj, 'some_key'); /* OO API */ $memcache_obj = new Memcache; $memcache_obj-> connect ('memcache_host', 11211); $var = $memcache_obj-> get ('some_key');
-
$memcache_obj = memcache_connect ('memcache_host', 11211); /* item will be deleted by the server */ memcache_delete ($memcache_obj, 'key_to_delete'); /* OO API */ $memcache_obj = new Memcache; $memcache_obj-> connect ('memcache_host', 11211);
-
$memcache = new Memcache; $memcache-> connect ($memcache_hosts [$server], 11211); //get or set your objects here?> You can leave other objects that you don't want to group to memcache extension to hash and select the appropiate server.
-
false : MEMCACHE_COMPRESSED; $mc = new Memcache; $mc-> connect ('localhost', 11211); $mc-> add ($key, $value, $compress); echo $mc-> get ($key); //Alternative is to cast the variable $value = is_scalar ($value) ? (string) $value : $value;

Other forms of search
To search the string "memcache_connect" using other options, try searching:
- Only the documentation
- Only this mirror
- The entire php.net domain
- pear.php.net
- pecl.php.net
- The Bug DB
- php-general mailing list
- Internals mailing list
- Documentation mailing list
For a quick overview over all documented PHP functions, click here.
