hi everyone
i am running ubuntu and all my scripts are in php,i have a program
written in C and Perl that do a specic job in my site.so my problem is i can't run that specific program while i am out site the directory.
can someone help me with a php code that can run the program that is out site the current working directory.i use the following code but nothing happend.
$output=exec(/home/data/test make.pl )
shell_exec("cd /home/data/test make.pl ");
make.pl is the script that i want to run.
i am running ubuntu and all my scripts are in php,i have a program
written in C and Perl that do a specic job in my site.so my problem is i can't run that specific program while i am out site the directory.
can someone help me with a php code that can run the program that is out site the current working directory.i use the following code but nothing happend.
$output=exec(/home/data/test make.pl )
shell_exec("cd /home/data/test make.pl ");
make.pl is the script that i want to run.
Comment