Grzegorz - carSign is using backticks which is equivelent to using shell_exec();
carSign - is your php in safe mode as this will restrict what directories you can execute from, the cli and mod_php often have different settings. Also make sure that the user that apache runs as has access to perl. Geoff -- http://lemoncake.wordpress.com On Aug 29, 4:58 pm, Grzegorz Pawlik <[EMAIL PROTECTED]> wrote: > >From what You wrote, I think that you forgot to actually >>call<< > > exec() function... > > On Aug 27, 6:02 pm, carSign <[EMAIL PROTECTED]> wrote: > > > I am trying to execute a command from within a view. Something like: > > > <?php > > > $output = `perl cool_script.pl`; > > echo $output; > > > ?> > > > And I get nothing. I get the output I need when run on the command > > line. > > Any ideas why this doesn't work? > > > Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
