I'm looking for general guidance and ideas for developing communication and control between a webserver/website and a remote laptop.
I'd like to develop, using php, a command and control system that is ran from a webserver. From website on that webserver, using php, an internet browser, a user would enter commands or make selections that are then transmited from the website to a remote laptop with a connections to a serial (or US😎 port on that remote laptop.
Let's make is simple: you could to www. ' mywebsite '.com and click on an icon that says 'turn light off'. Via PHP code on the website, communication is established with the remote laptop and via it's serial (or US😎 port a light switch is turned off at the remote location.
I've located some php classes that can talk to a serial port but I belive it requires PHP to be installed on the laptop. In my perfect world the website would contain all code.
So I was just looking for general direction, hints, don't dos, books, example, etc of this type of configuration.
Thanks, KC