The php file that drives the 'remote control'