i have some problem to shell script using php...
my script is file is a.sh:::
and my php file is index.php::
i cant run this script...pls help me with this
my script is file is a.sh:::
Code:
#!/bin/sh echo "ATZ0" > /dev/ttyACM0 echo "AT+CSCA?" > /dev/ttyACM0 echo "AT+CMGF=1" > /dev/ttyACM0 echo "AT+CNMI=2,1" > /dev/ttyACM0 echo "AT+CMGS=\"09924927267\"" > /dev/ttyACM0 echo "hello\32" > /dev/ttyACM0
Code:
<?php
exec("./a.sh");
?>
Comment