cvs: phpweb /include check_email_func.php /new check_email_func.php
| From: | Jesus M. Castagnetto | Date: | Wed, 28 Feb 2001 12:37:45 +0000 |
| Subject: | cvs: phpweb /include check_email_func.php /new check_email_func.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-4070@lists.php.net to get a copy of this message | ||
jmcastagnetto Wed Feb 28 04:37:45 2001 EDT
Added files:
/phpweb/new check_email_func.php
Removed files:
/phpweb/include check_email_func.php
Log:
moved check_email_func.php from include to new (this dir AFAICT is not being used)
because it cannot find the include file due to the include_path
Index: phpweb/new/check_email_func.php
+++ phpweb/new/check_email_func.php
<html>
<head><title>email validation test</title></head>
<body>
<?php
require "email_validation.inc";
if (!$debug)
$debug = 0;
$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), $debug))
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>