Wiki

Articles in category "tutorials", sorted by viewsX
Displaying 161-170 of 255 result(s).

Log Activity in DataBase

Created 4 years ago by mahdi1986Tutorials7 comments – viewed 20,388 times – ( +8 / -1 ) – version 1.1
In this article i will explain how to customize log activity in database, Imaging you need to save IP user, Url request and user_name in database,But table created by default with Yii only have id,level,category,logtime and message

How to setup FCKeditor

Created 8 years ago by krillzipTutorials2 comments – viewed 20,249 times – ( +3 / -2 ) – version 1.1
To start with you need to download the latest stable release of FCKeditor. Extract the downloaded file and place the fckeditor/ folder in your applications webroot directory.

Starting with YII 1.1.x in Windows Environment (WAMP)

Created 3 years ago by Rajith RTutorials0 comments – viewed 20,210 times – ( +8 / -1 ) – version 1.1
As we know YII is the Leading Framework of PHP. Lots of new developers are starting to use YII day by day. Most of the beginners are little bit confused with how to start with YII . I think this note will help them. Follow the simple steps To run a Yii-powered Web application, you need a Web server that supports PHP 5.1.0.
tags: newbie, yii, yiic

Performance - A Guide For Best Practice

Created 7 years ago by Y!!Tutorials3 comments – viewed 20,195 times – ( +8 / -6 ) – version 1.1
In this guide I will explain best practise regarding performance in MySQL, PHP and of course our loved Yii Framework. Since this is a complex topic, I will start with some basics and then expand this guide from time to time. Since this wiki can become big, you may click on View history - there you can see what changes have been made, so you don't miss anything.
tags: performance

Force a User to Change Their Password (ChangePasswordFilter)

Created 6 years ago by waterloomattTutorials2 comments – viewed 19,755 times – ( +16 / -3 ) – version 1.1
Sometimes you need to force a user to change their password after x number of days. This article describes how to implement this using a filter, ChangePasswordFilter.

Logout CSRF Protection

Created 6 years ago by Rodrigo CoelhoTutorials1 comment – viewed 19,700 times – ( +10 / -1 ) – version 1.1
CSRF is the acronymn for Cross-site request forgery. It is an attack which forces an end user to execute unwanted actions on a web application in which he/she is currently authenticated.

[Updated] How to create & call custom global function in whole application?

Created 3 years ago by Rohit SutharTutorials8 comments – viewed 19,346 times – ( +5 / -3 ) – version 1.1
In this wiki I will show how to create own custom global function. It may be save the space and reduce the time.

三步使用cronjobs自动化去执行Yii 控制台任务

Created 6 years ago by Darwin WenTutorials0 comments – viewed 18,860 times – ( +1 / -5 ) – version 1.1
这篇文章将介绍使用Linux cronjobs去自动化执行Yii Console Application(控制台)任务,像每天晚上执行缓存清理,临时文件清理,发送邮件,网站备份等等,重复的工作都交给服务器后台去完成,Yii本身已经提供了强大的支持,我们所做的工作就很少,当使用yiic webapp 自动生成工程结构时,强大的Yii已经全部帮我们生成好,仅仅只需三步。

Upload CSV File

Created 5 years ago by bhavesh vaghelaTutorials2 comments – viewed 18,537 times – ( +8 / -1 ) – version 1.1
View file

Simple Mail Queue

Created 4 years ago by waterloomattTutorials3 comments – viewed 18,323 times – ( +10 / -3 ) – version 1.1
This tutorial shows how to create a simple mail queue. It is usually run from a cron job but can be run from the command line too.