PHP – YII – Redirect to Last Page

The following php example helps you to redirect to previous page or last request URL in YII 
Framework.

Code Example:

<?php
$this->redirect(Yii::app()->request->urlReferrer);
?>

Post to Twitter Post to Digg Post to Facebook Post to Google Buzz Send Gmail