cvs: phpweb /include check_email_func.php
| From: | Jesus M. Castagnetto | Date: | Thu, 01 Mar 2001 01:09:21 +0000 |
| Subject: | cvs: phpweb /include check_email_func.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-4096@lists.php.net to get a copy of this message | ||
jmcastagnetto Wed Feb 28 17:09:21 2001 EDT
Modified files:
/phpweb/include check_email_func.php
Log:
Modified the email checking script to match the email-validation.inc changes
Index: phpweb/include/check_email_func.php
diff -u phpweb/include/check_email_func.php:1.5 phpweb/include/check_email_func.php:1.6
--- phpweb/include/check_email_func.php:1.5 Wed Feb 28 15:42:52 2001
+++ phpweb/include/check_email_func.php Wed Feb 28 17:09:21 2001
@@ -5,9 +5,6 @@
require getcwd()."/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",
@@ -18,7 +15,7 @@
while (list(,$v) = each($test_add)) {
echo "The address: $v (".clean_AntiSpam($v).") is";
- if (!is_emailable_address(clean_AntiSPAM($v), $debug))
+ if (!is_emailable_address(clean_AntiSPAM($v)))
echo " not";
echo " valid\n<br>";
}