Please note that this article is a simple example and good security should be taken into account when we play with authentication systems.
Please note that this article is a simple example and good security should be taken into account when we play with authentication systems.
Gii provides us normally with the following code on the 'actionCreate':
public function actionCreate()
{
$model=new ModelName;
Hi. This is first article with my Yii v1 tutorial. I had to split it into 2 articles as there's limited length of texts on Wiki. So once you understand basics, you can read the 2nd article here: Yii for beginners 2.
This wiki describes a more complex workflow using the XUpload widget
This article will explain how to create a REST API with the Yii framework.