Hi, Sorry I am new to Yii and many obvious things you do with normal php seems to be quite different in a MVC environment. so sorry if this is a dumb question.
I am trying to make use of an upload class I found, which consists of some client code and a server php file. The client code will need to call the server php, via a ajax call.
The client code I have placed in a view file. e.g. view.php. however I am confused to where to put the server php file. Currently it’s under protected/extension/3rdparty.php, I understand I can’t access anything under protected directly, if that the case, what is the best way to achieve this? (the only way I can think off is to create another action/view, and place the php code under the new view file.