Reads data from server via PHP