Sending byte from website to serial port
How Can I send a byte from a remote website using PHP to a serial port in another开发者_运维问答 computer connected to a PIC chip?
PHP cannot talk directly to the remote PC by any means other than HTTP and then only via the user's browser. Until websockets become more commonplace, that is.
Short of running a signed java applet on the client machine, there's no way for PHP to directly, or indirectly, access any hardware on a client machine.
精彩评论