Hi,
Im working on a PHP script in which I have to run shell script,
I have 2 option ,
- If im able to send php veriable value to shell
- Or i can write shell directly in PHP
I used
shell_exec(dirname(__FILE__) ."/shl.sh");
for execute shell .... Now the problem is .. if i use #!/usr/bin/php in shell it only resolve code within <?php ?>
and print shell statment directly on screen ..
So I need a Urgent Help ...
Please Help Me Out ...