Login   Register  
PHP Classes
elePHPant
Icontem

File: example_get_cache.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Shibly  >  A simple memcached class  >  example_get_cache.php  >  Download  
File: example_get_cache.php
Role: Example script
Content type: text/plain
Description: example file-get data from the server
Class: A simple memcached class
Manipulate values stored in memcached servers
Author: By
Last change: updated
Date: 2 years ago
Size: 207 bytes
 

Contents

Class file image Download
<?php

require_once'memcache2.php';
$getData = new cache_memcache ();
$res $getData->get("Shibly");
if (
$res) {
    echo 
$res;
} else {
    echo 
"No data to display. The cache may be destroyed";
}