This post presents a project that will use three programming languages in order to communicate with an Arduino board from the browser.
The objective is simple: a Web page will send and receive data from the Arduino connected to a web server.
In the Arduino there will be a simple communication protocol that's responsible for the interaction with the sensors.
The Web server is running Apache over Windows and the programming language selected is PHP.
A small programming will allow for the web page, built with PHP, to send and receive data through the USB port. It's a small console mode application created with C#. The PHP web page server side will run this command with different parameters and it will return the data read from the Arduino.
Although there are multiple PHP frameworks that claim to work with the USB port none of them worked for me.