📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
e-ticaretv11.demodesign.com.tr
/
system
/
library
/
cache
📝
mem.php
← Geri Dön
<?php namespace Cache; class Mem { private $expire; private $memcache; const CACHEDUMP_LIMIT = 9999; public function __construct($expire) { $this->expire = $expire; $this->memcache = new \Memcache(); $this->memcache->pconnect(CACHE_HOSTNAME, CACHE_PORT); } public function get($key) { return $this->memcache->get(CACHE_PREFIX . $key); } public function set($key, $value) { return $this->memcache->set(CACHE_PREFIX . $key, $value, MEMCACHE_COMPRESSED, $this->expire); } public function delete($key) { $this->memcache->delete(CACHE_PREFIX . $key); } }
💾 Kaydet
İptal
📝 Yeniden Adlandır
İptal
Kaydet
🔐 Dosya İzinleri (chmod)
İzin Değeri:
Hızlı Seçim:
777
755
644
600
777
= Herkes okur/yazar/çalıştırır
755
= Sahip tam, diğerleri okur/çalıştırır
644
= Sahip okur/yazar, diğerleri okur
600
= Sadece sahip okur/yazar
İptal
Uygula