I hava a uploadify script in php, who upload the file and move to selected folder.
The selected folder is in a yii session variable: $folder=Yii::app()->user->folder;
I need to read this variable inside the script. In this script the yii engine not works because is outside /protected folder. I can’t read with Yii::app()->user->folder;
Now I get the variable folder trought the uploadify javascript, like:
(…)
‘scriptData’: {‘folder’ : ‘/folder/selected’},
(…)
This works fine. But when this script is loaded, I dont’k know hoy change this value via javascript. For example when select a client in a combobox inside the page.