Let me explain, i have a external non-symfony zend-optimized encoded "plugin.php" wich code i can't modify or read.
Now, inside that plugin there is a function called vsend($p1, $p2) that i must call inside a action but the function is unreachable. the action.class.php goes like this: include dirname(_FILE_)."/plugin.php"; //it is reachable, this was my first try class moduleActions extends sfActions{ public function executeAction1($request){ // i also tried to include the file inside this function but no luck vsend('a','b'); //fails, not declared function vsend } } I need a way to import that php plugin.php and get access to the functions inside, does anyone know how to do it? The only way i can think about is to include it in the template and pass the parameters from there but thats not the "right" way to do it. Thanks, hope you can help me -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en