How To Access Another Application Resources

I have created two related applications in yii. I need to use some images of application 1 in application 2. How this is possible in yii. Forbidden error is generated.

hai Raghu

i tried to download file from another application…

i got it…

i used this extension to download…

http://www.yiiframework.com/extension/edownloadhelper

in my controller action

public function actionDownload($name)

{

    Yii::import('ext.helpers.EDownloadHelper');


    





    Yii::app()->request->baseUrl='C:/wamp/www/yii/av1';

// print_r(Yii::app()->request->baseUrl);die;

    EDownloadHelper::download(Yii::app()->baseUrl.'/images/'.$name);

}

$name is the name of file to download…try it