Categories
YII

How to redirect to previous URL in YII

If you want to get previous URL use blow line of code If you want to redirect to the previous URL use blow line of code That’s it happy coding

Categories
YII

Yii Framework Tutorial ?

Yii is Open Source PHP Framework. Qiang Xue is the founder of Yii, He started the development of this open source framework on January 1st, 2008. What is Yii? Yii is fast and Easy,efficient and secure framework Yii is great tool kit for developing Web 2.0 applications. Great documented PHP framework Why Yii? Yii is […]

Categories
YII

How to Create A Custom Widget in Yii Framework ?

Yii is a wonderful framework that gives generated codes for the developer.in here I will show you how to create a Custom widget in Yii. Simplest possible way to get a Custom Widget going: Then, in a view, you can instantiate it like this: the init()

Categories
YII

Setting Home Page In yii Application With Default Controller And Default Action ?

We can set or change front page or home page of YII Driven web Application with simple Changes, we can do this with changing a default controller and a default action. Default Controller : Default Controller can be called , if no controller provided. Default action: Default Action is controller method, which will be called […]

Categories
YII

How to Remove index.php in the url of Yii Website?

Usually, when we run a Yii website, the URL will have index.php after the hostname. To remove this in appache web server, we need to enable the mode_rewrite module and should create .htaccess file. To hide index.php from the url on a website, add an .htaccess file to your web root, with this text: After […]

Categories
YII

How to Install YII in windows, XAMPP ?

SETP1: Download Latest version of Yii Framewrok from official website (http://www.yiiframework.com/). SETP2: Extract The Giz. SETP3 : OPEN command prompt, type cd / hit enter cd xampp/php hit Enter cd php.ext c:xampphtdocsframeworkyiic webapp c:xampphtdocs hit heter type yes hit enter