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 (using a certificate or build you own encryption for communication, restrict script response depending on server ips etc...) as you want to pass sensitive data between them. Communication can be done using curl library or simply with fopen (if allow_url_fopen allows it). parameters can be passed using XML or simple parsed plain text. Andy h wrote: > 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 possible to target a command like this on another server? > > > > So from server A where I am running a web app, needs to run the shell_exec('df -kP') on server B, which also has php installed, so that i can display the results in my web app on server A. Hope that makes sense! > > > > Also, how would i fopen a file such as /proc/cpuinfo on Server B from Server A. > > > > Any help greatly appreciated > > > > Regards > > > > Ade > > . > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php