Q: Run a sh script in httpdoc
Hello, first I thank anyone who try to get me up of this Q.
I have a script to start/stop a prog ( /usr/bin/Pro.d1) this script locate in /var/script1.sh. Code:
#!/bin/sh what I want is a PHP file (eg: index.php) that will execute the /var/script1.sh I try one : Code:
<?php Any ideas Thanks |
Hi,
And welcome to LQ! The first suggestion would be to enable debug output for PHP to find out what happens? Cheers, Tink P.S.: Moving this thread over to programming where it is more suitable.... |
All times are GMT -5. The time now is 08:01 PM. |