note 130121 added to filter.examples.validation

From: Date: Fri, 07 Mar 2025 18:12:15 +0000
Subject: note 130121 added to filter.examples.validation
Groups: php.notes 
Request: Send a blank email to php-notes+get-221949@lists.php.net to get a copy of this message
Folks, please don't use FILTER_VALIDATE_EMAIL. This constant is based on RFC822 from 1982. Suffice to say that things have changed since 1982 and the only real way to validate an email is by sending one. ---- Server IP: 45.112.84.4 Probable Submitter: 45.112.84.18 (proxied: 208.127.240.87) ---- Manual Page -- https://php.net/manual/en/filter.examples.validation.php Edit -- https://main.php.net/note/edit/130121 Del: integrated -- https://main.php.net/note/delete/130121/integrated Del: useless -- https://main.php.net/note/delete/130121/useless Del: bad code -- https://main.php.net/note/delete/130121/bad+code Del: spam -- https://main.php.net/note/delete/130121/spam Del: non-english -- https://main.php.net/note/delete/130121/non-english Del: in docs -- https://main.php.net/note/delete/130121/in+docs Del: other reasons-- https://main.php.net/note/delete/130121 Reject -- https://main.php.net/note/reject/130121 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#221949) next »