Implemented PHP page generation