Speed up development with full-stack environments for every branch.

Learn More

How to make a login form in Yii [PHP and forms]

2607 Runs 9726 Views 4560 Copies
Saved

Saved

cezary 46

cezary
published 4 years ago

<?php

define('YII_DEBUG', true);

$config = dirname(__FILE__).'/protected/config/main.php';

// Include Yii framework main file
require_once(dirname(__FILE__) . '/../yii/framework/yii.php');

// Run the application
Yii::createWebApplication($config)->run();
Please login/signup to get access to the terminal.

Your session has timed out.

Dismiss (the page may not function properly).