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
yii
-
-
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…
-
To execute PHP from command prompt, you need to go to php directory in xampp, allocate the php.exe, then type the code like this… C:\xampp\php>php C:\xampp\framework\yiic webapp C:\xampp\htdocs\yii