Updated Index PHP to get hostname and IP