note 74235 added to ref.memcache
| From: | HalitYesilmailathalityesildotcom at osu1 dot php dot net | Date: | Sat, 31 Mar 2007 09:53:14 +0000 |
| Subject: | note 74235 added to ref.memcache | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-124969@lists.php.net to get a copy of this message | ||
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
----
Server IP: 69.147.83.197
Probable Submitter: 144.122.180.150
----
Manual Page -- http://www.php.net/manual/en/ref.memcache.php
Edit -- https://master.php.net/note/edit/74235
Del: integrated -- https://master.php.net/note/delete/74235/integrated
Del: useless -- https://master.php.net/note/delete/74235/useless
Del: bad code -- https://master.php.net/note/delete/74235/bad+code
Del: spam -- https://master.php.net/note/delete/74235/spam
Del: non-english -- https://master.php.net/note/delete/74235/non-english
Del: in docs -- https://master.php.net/note/delete/74235/in+docs
Del: other reasons-- https://master.php.net/note/delete/74235
Reject -- https://master.php.net/note/reject/74235
Search -- https://master.php.net/manage/user-notes.php