PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Cesar D. Rodas  >  PHPCached  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example
Class: PHPCached
memcache client in pure PHP
Author: By
Last change: * Making visible without user login
Date: 15 years ago
Size: 314 bytes


Class file image Download
$memcache = new gMemCache("localhost","11211");
$v = $memcache->get("xcesar");

if (
$v == false) print "no existe en memcache";
else print
/* Setting a value */
$memcache->set("xcesar", range(0,140),0,true);


For more information send a message to info at phpclasses dot org.