is it possible to "answer" the results of the exec or passthru command?
example:
system("/usr/bin/fooscript");
this script does an rsync thru ssh so it will ask for ssh pass for the host it is syncing to so..
how can i allow a user to pass their password via a web page to the script and have it continue? Is it even possible to send data to a running program using php like that?
of course i can run this from a shell and its ok cause i can type in the password when it asks for it, but if running from a web site how would i send it the password
TIA!