Roundcube Community Forum

 

Retrive Env Variable Value inside the plugin

Started by pratik_1712, February 08, 2011, 06:12:38 AM

Previous topic - Next topic

pratik_1712

I have set an env variable and altered its value in JavaScript.. Now i need its value inside the plugin(.php).. How to retrieve it..

Thanks and Regards,
Pratik

SKaero


pratik_1712

I added this code in my plugin

rcmail->output->set_env('user_value', 'myvalue');


And on certain event i am changing the value in the javascript as:

rcmail.env.user_value = 'newvalue';


Now how to get this value inside my plugin(.php)..??

pratik_1712

Found the solution..
Got the value through get_input_value

Thanks for help skaero