Wiki

Sorted by date (updated)X
Displaying 521-530 of 684 result(s).

Yii Security-extended guide

Updated 2 years ago by bingjie2680Tips11 comments – viewed 14,290 times – ( +6 / -6 ) – version 1.1
This article is called extended guide is because there is already a security guide in the Yii tutorial security section. but that guide is not complete in the sense that it does not rise the developers' attention to some other commonly happening attacks: SQL injection and magic URL, which can be major vulnerabilities in your application without much caring.

Manage application configuration in different modes

Updated 2 years ago by 张 迪Tutorials5 comments – viewed 29,062 times – ( +15 ) – version 1.1
Info: This tutorial references the idea presented in Jonah's excellent blog article.

How to validate CSRF token with session

Updated 2 years ago by yangmlsHow-tos1 comment – viewed 31,205 times – ( +20 ) – version 1.1
First of all, You must change component config to enable the default Yii CSRF validation.
tags: CSRF, session

Increasing AR performance in connections with Oracle

Updated 2 years ago by Igoru-sanHow-tos9 comments – viewed 16,123 times – ( +1 ) – version 1.1
Please, note. This article is entirely based on a work done by me colleague developer, who hasn't got account on this webpage and also hasn't got time for writing this article. I'm writing it for him. I will try to forward him any comments that may appear, but can't assure if/when he'll be able to answer. I'm far, far less experienced in Oracle therefore I won't probably be able to help myself.

Creating a parameterized LIKE query

Updated 2 years ago by AsgarothFAQs6 comments – viewed 47,551 times – ( +22 ) – version 1.1
It's common to see users wishing to make substring DB queries, using the % metacharacter used to match anything; in this FAQ we'll search the tbl_comments table from the blog tutorial hoping to find the text in $match in the content column

How to re enable logging during unit testing

Updated 2 years ago by AsgarothHow-tos3 comments – viewed 10,911 times – ( +11 ) – version 1.1
Some of you have experienced the need to log some information while doing unit testing, due to the fact that the information given in the summary is just not enough, to know why the test is actually failing. this article focuses on 2 ways to get you logs up and running again.

Application-driven database with CDbMigration and an extended CActiveRecord

Updated 2 years ago by Tudor IlisoiOthers0 comments – viewed 8,144 times – ( +8 ) – version 1.1
This is an incipient implementation of application-driven database with Yii.
tags: database, model

How to insert a Simple Dialog Box

Updated 2 years ago by bluyellHow-tos4 comments – viewed 19,715 times – ( +5 / -2 ) – version 1.1
I build this simple PHP class (DialogBox.php at the bottom of this wiki) to help you in the dialog box usage on Yii applications. The goal is run any Yii actions into this dialog box and return the resulting value to the calling instance.

How to work with flash messages

Updated 2 years ago by François GannazTutorials10 comments – viewed 153,197 times – ( +57 ) – version 1.1
Set your messages in a controller:

Force a User to Change Their Password (ChangePasswordFilter)

Updated 2 years ago by waterloomattTutorials2 comments – viewed 13,823 times – ( +16 / -2 ) – 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.