note 74235 deleted from ref.memcache by philip
| From: | philip@php.net | Date: | Sun, 01 Apr 2007 09:33:03 +0000 |
| Subject: | note 74235 deleted from ref.memcache by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-124987@lists.php.net to get a copy of this message | ||
Note Submitter: Halit Yesil mail at halityesil dot com
----
MySQL and php chache class
Classh Full code : http://www.phpbuilder.com/snippet/detail.php?type=snippet&id=1416
by Halit YeÅil
<?PHP
/*
$unsid : User manuel id key string example session_id()
only method (update check delete read)
$id : chache id
$sid : chache sid
*/
$obj = new pg_chache($unsid string,[ $id integer,[ $sid string]]);
//Write method
$out = $obj->write($unsid , $yourstatus, $yourchache );
//Read method
$out = $obj->read($id, $sid, $unsid);
//Update method
$out = $obj->update($id, $sid, $unsid, $newstatus, $newchache);
//Check method
$out = $obj->check($id, $sid, $unsid);
//Delete method
$out = $obj->delete($id, $sid, $unsid);
?>
Not: $db my database class