some of the php codes