Server side PHP script to exchange data

this script enable details of connected devices to the client
applications.