list me commands to invoke a shell script from php once the submit button is clicked in the php page. Requirement is Once a submit button is clicked it should run a script that displays the outcome of the script in a html/php. Please help.
Thanks in Advance,
BubeshJ
U can write a script and invoke it thru telnet...
so write telnet conn. in PHP and connect thru TN to UNIX or as I did to solaris...
than execute on it some commands like:
cd /path/to/dir/where/script/is
then execute it: ./myscript
so that works for me..
also U can write separate script FTP script to send back txt output to other machine where PHP is..and than display result simply from txt file or some other file...does not metter..