To make it simple, you just connects your PC (set the IP address of it to 192.168.1.1) and the reader, either directly or through a switch.
Then install the IIS with PHP support (https://technet.microsoft.com/en-us/library/hh994592(v=ws.11).aspx).
Create \avea.php as follows:
After the reader make a beep sound, power off the reader and reset the PC to original IP settings. Power up the reader again and it will talk to the web server (i.e. 192.168.2.222).