PHP submission

Had to make some big changes to how everything works because of an IE
bug