More work on the php files