getting the php working