|
已经有检查email address的正则表达式了, 需要把导出的所有email address的输入文件,检查下看看有没有违规的email address。 请教怎么创建一个命令行的php脚本去调用is_valid function? 非常感谢。 上级只说了这些: This is quite an extensive change to the regex. Are we confident it will work with all existing email addresses? Perhaps a test jig to test against the result of: SELECT DISTINCT c.email FROM account a INNER JOIN contact c ON c.id = a.contact_id WHERE a.when_closed IS NULL AND c.email IS NOT NULL AND c.email <> "" i.e. export the result set to a file and create a command line Php script to call the is_valid function |