In this tutorial we will discuss about setting up our Yii application Our Web Apps will have user registration page Our Web Apps will varified user registration trough emails activation The first thing is we need to look into our User table or our User model. Im setting up my tbl_user as below. Im also…
PHP
-
Basicly, Yii basic skeleton already come with aunthentication system which is very simple by checking username and password both admin or demo. The default authentication files is UserIdentity.php LoginForm.php SiteController.php Login.php
-
In this tutorial we discuss about the basic principal of MVC using Yii Framework. How to create Model extends from CFormModel which we collect data from it, to create related Controller and finishing at View. 1. Generate webapp from Command Prompt yiic webapp myapps 2. Uncomment gii on myapps/protected/config/main.php. Set your prefered password. This allow us…