mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
This patch cleans all redundant trailing whitespace across the repository except for the icalendar files.
29 lines
873 B
PHP
29 lines
873 B
PHP
<html>
|
|
<head><title>email validation test</title></head>
|
|
<body>
|
|
<?php
|
|
|
|
require getcwd()."/email-validation.inc";
|
|
|
|
$test_add = array (
|
|
"wrong-email-address@lists.php.net","jmcastagnetto@yahoo.com",
|
|
"some-wrong@asdas.com", "jcastagnetto-NO-SPAM@yahoo.com",
|
|
"jcastagnetto@NoSpam-yahoo.com", "jmcastagnetto@chek2.com",
|
|
"jcastagnetto-i-hate-spam@NOSPAMyahoo.com", "jesusmc@scripps.edu",
|
|
"asasasd324324@php.net", "jcastagnetto-delete-this-@yahoo.com",
|
|
"wrong-address-with@@@@-remove_me-and-some-i-hate_SPAM-stuff");
|
|
|
|
while (list(,$v) = each($test_add)) {
|
|
echo "The address: $v (".clean_AntiSpam($v).") is";
|
|
if (!is_emailable_address(clean_AntiSPAM($v)))
|
|
echo " not";
|
|
echo " valid\n<br>";
|
|
}
|
|
|
|
?>
|
|
<hr>
|
|
The jesusmc@scripps.edu, jmcastagnetto@yahoo.com and jcastagnetto@yahoo.com
|
|
should validate OK as of 2001-02-28 --- JMC
|
|
</body>
|
|
</html>
|