Magellan Linux

Diff of /alx-src/branches/alx-web-070/include/socket_send.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 10653 by niro, Wed Aug 2 13:21:57 2017 UTC revision 10654 by niro, Wed Aug 30 14:48:15 2017 UTC
# Line 14  function mcore_socket_send($ip, $port, $ Line 14  function mcore_socket_send($ip, $port, $
14   ob_start();   ob_start();
15   system("/usr/bin/mcore-socket-send --ip='".$ip."' --port='".$port."' --fingerprint='".$fingerprint."' --command='".$cmd."'", $sockretval);   system("/usr/bin/mcore-socket-send --ip='".$ip."' --port='".$port."' --fingerprint='".$fingerprint."' --command='".$cmd."'", $sockretval);
16   ob_clean();   ob_clean();
17   if ($sockretval == 0) echo "socket send succesfull";   if ($sockretval != 0) echo "socket send failed";
  else "echo socket send failed";  
18   }   }
19  }  }
20  ?>  ?>

Legend:
Removed from v.10653  
changed lines
  Added in v.10654