Wiki

Articles in category "how-tos"X
Displaying 351-355 of 355 result(s).

How to install pdo_oci

Created 7 years ago by gallego123How-tos2 comments – viewed 30,045 times – ( +1 / -1 ) – version 1.1
From: http://lacot.org/ and me.
tags: pdo oci php

How to setup RBAC with a php file

Created 7 years ago by bettorHow-tos17 comments – viewed 66,438 times – ( +26 / -6 ) – version 1.1
In this cookbook I will attempt to explain how to use the lightweight version of Role-Based Access Control using a php file. This version does not use database but a php file and is controlled by CPhpAuthManager class.

Reference: Model rules validation

Created 8 years ago by krillzipHow-tos7 comments – viewed 752,450 times – ( +128 / -1 ) – version 1.1
This is a reference to be used for Model rule validation and is compiled from the Yii documentation and code. The purpose is to have all the information gathered in one place instead of scattered. This reference is not an intro. See The Definitive Guide to Yii, Declaring Validation Rules for a tutorial.

How to use nested DB transactions (MySQL 5+, PostgreSQL)

Created 8 years ago by mindehHow-tos6 comments – viewed 45,123 times – ( +47 / -1 ) – version 1.1
Original source code and idea are from: PHP, PDO & Nested Transactions.

How to set up Unicode

Created 8 years ago by MikeHow-tos10 comments – viewed 97,942 times – ( +19 / -1 ) – version 1.1
To fix issues with display of special language characters once and for all there's a solution: use Unicode UTF-8 everywhere. If everything is set up to use Unicode, you can use mostly every language in your application.
tags: i18n, unicode