Ajaxel content management system and framework

Ajaxel система управления сайтом в9.1 и фреймворк

Очень простая аяксовая CMS и фреймворк для любых потребностей проекта. Редактируйте содержимое своего веб-сайта из бэкэнда или внешнего интерфейса. Попробуйте и убедитесь, насколько хорош этот материал!

Ajaxel intranet system

Ajaxel интранет система заказов

Список новых входящих заказов (с удаленных веб-сайтов) с возможностью массовой рассылки электронных писем с сгенерированными вложениями в формате PDF и SMS-сообщениями. Изменение статусов, сохранение ответов и другие. Поставляется с CMS Ajaxel

Ajaxel live slot-machine game

Игровой автомат Ajaxel

Проверьте эту игру, посмотрите, насколько это круто) Доска 5x3, чтобы крутить для победы. Приятная анимация, играющая музыка, бонусы, списки победителей. Можно создавать собственные иконки, линии и призы... Поставляется с Ajaxel CMS. Кроме того, у меня есть игра в онлайн-покер.

Timemonkey - efficient time management web based software

TimeMonkey - Efficient time management web-based

Think positive, save ideas, save thoughts, manage you tasks and control your calendar. Export calendar to your web site!

Ajaxel customer relationship manager

PollExpert - Professional survey web-based

Create your individual, corporate-, secure- or step-by-step online poll. You don't need to be an IT expert. Export results to excel.

Ajaxel customer relationship manager

Любой другой летающий сайт с Ajaxel CMS. Разработка

Создайте желаемый проект с помощью Ajaxel Студии!

Getting from cache method from class

Home :: PHP lessons :: Getting from cache method from classReply
Getting from cache method from class
Posted by Alexander Shatalov
PHP
public static function get($name, $incTime=3600, $use_file=false, $echo = false, $ob_func = false) {
        if ($use_file) {
                $name = File::fixFilename($name);
                if (($file = FTP_DIR_CACHE.$name.'.'.self::$cache_ext) && file_exists($file) && (is_numeric(File::Ext($name)) || (!$incTime || ($incTime>0 && filemtime($file) > (time() - $incTime))))) {
                        if ($echo) {
                                if ($ob_func) ob_start($ob_func);
                                readfile($file);
                                echo '<!-- cached '.$file.'-->';
                                if ($ob_func) ob_end_flush();
                                return true;
                        } else {
                                return strexp(file_get_contents($file));
                        }
                }
                return false;
        } else {
                return strexp(DB::row('SELECT `data` FROM `'.DB::getPrefix().'cache` WHERE `name`='.escape($name).($incTime? 'AND saved > '.(time() - $incTime):''),'data'));
        }
}

wink

Complete this survey before you download :)


Which website you like to create:
Your plan:
Tell us more about the website you wish to have: (optional)
Website domain:
Your E-mail:
Survey passed: 314 times, starting from 16.09.2013

Главная – Новости – Партнёры – Услуги – Портфолио – Скрипты – Заказать – Обратка