It works for me.
split.plPHP file$bar=$ARGV[0]; $lak=`$bar`; print "$lak";
<?php $foo="ls"; $cmd="perl split.pl $foo"; $out=`$cmd`; print "$out"; ?>
Now the $out has the ls output. I think I understood your question. If not clarify me.
In reply to Re^3: system command and formatting
by lakshmananindia
in thread system command and formatting
by sugar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |