Dating php script validating isbn