If it doesn't have a valid IP then it isn't connected to any network
My Ip is invalid now but I'm connecting to network 
I have invalid ip so you can not ping me but I can ping the valid ip / my solution was that I put the value of $command to the text file on server A :
PHP Code:
$hande = fopen('command.txt' , 'w');
fputs ( $hande , $command );
fclose($hande);
ip of box A/command.txt
and Got it by script on box B :
PHP Code:
$comdir = 'path of command.txt file';
$handle = fopen($comdir , "r");
$contents = fread($handle, 2000);
fclose($handle);
And I had it ==> $contents
but I don't want to use text file for some resons ... I want to know is taht any method 
ty
Bookmarks