I have tried to write a php program to execute the shell script,but
dont know why it is not successful lei?
file: test.php
<?
system("/home/www/htdocs/ok");
?>
file: ok (permission 755)
#!/bin/bash
echo abc >> abc.txt
Why it is not successful lei(still cant see any file named as abc.txt
after run test.php)? I have tried other commands like shell_exec(),
also not work.
dont know why it is not successful lei?
file: test.php
<?
system("/home/www/htdocs/ok");
?>
file: ok (permission 755)
#!/bin/bash
echo abc >> abc.txt
Why it is not successful lei(still cant see any file named as abc.txt
after run test.php)? I have tried other commands like shell_exec(),
also not work.
Comment