Code: Select all
$cmd = "./a.out input/1.pbm output.pbm";
$kk = shell_exec($cmd);
echo $kk;
I am developing this on linux platform, so when i execute the same page with:
Code: Select all
$ php output.php
Where is the bug in my code?