Re: [PHP] PHP shell_exec

2007-02-27 Thread Richard Lynch
On Tue, February 27, 2007 7:17 am, h wrote: > I have been using the shell_exec command to perform several server > queries quite succesfully i.e. analysing files systems by gettin > ginformation returned by df -kP (shell_exec('df -kP')). do any of you > guts know if it is possible to target a comm

RE: [PHP] PHP shell_exec

2007-02-27 Thread Peter Lauri
ssh2_exec would do it for you... Best regards, Peter Lauri www.dwsasia.com - company web site www.lauri.se - personal web site www.carbonfree.org.uk - become Carbon Free -Original Message- From: h [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 27, 2007 3:18 PM To: php-general@lists

Re: [PHP] PHP shell_exec

2007-02-27 Thread Andrei
Hi Ade, Sure you can. You must develop 2 scripts. One that will act as "server" and one as "client". So if you want to get details of server B from server A you should have the "server" into B and "client" into A. Be sure the communication between these 2 servers is securised (usi

Re: [PHP] PHP shell_exec

2007-02-27 Thread Németh Zoltán
2007. 02. 27, kedd keltezéssel 13.17-kor h ezt írta: > Hi > > I have been using the shell_exec command to perform several server queries > quite succesfully i.e. analysing files systems by gettin ginformation > returned by df -kP (shell_exec('df -kP')). do any of you guts know if it is > poss