Fixed the php stuffs.