Obviously, the developers of Arduino managed to resolve the issue with Windows serial communication to allow their boards to be programmed.
Not using PHP, they didn't. Don't get me wrong. I love PHP for dynamic web pages, but it is not an ideal tool for communicating with the serial port on Windows.