Hi all!
I want to execute Perl cgi from PHP cgi. I can do it, but when i try to do with arguments, it don't work:
#!/usr/local/bin/php
<?
...
$comand = "program.pl 'arg1=little' 'arg2=problem'";
$program_result = shell_exec($comand_shell);
...
?>
When I do it, program.pl doesn't take arguments, but if I execute program.pl 'arg1=little' 'arg2=problem' by shell, program.pl take arguments.
Can you help me?
Thanx, and sorry for my english. I'm Spanish.
Javi