This is the shell script file is

//sendsms.sh
echo "Welcome" | gnokii --sendsms 9944047439
ls

php script is

</php
$n=exec("sh sendsms.sh ");
?>

these two files are located in /var/www/html/ in fedora

while i try to execute php file, the shell script file "sendsms.sh" is not
executing..





how can i execute .sh file in php?


is there any other way to do it...




With regards,

Kannan. R. P,
Blog @: http://kannan4k.wordpress.com/
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to