function email_verify_checkall in Email Verify 6
Same name and namespace in other branches
- 5 email_verify.module \email_verify_checkall()
- 7 email_verify.check.inc \email_verify_checkall()
Menu callback; look though the whole user base for invalid emails. Can be very long when hosts timeout.
1 string reference to 'email_verify_checkall'
- email_verify_menu in ./
email_verify.module - Implementation of hook_menu().
File
- ./
email_verify.check.inc, line 11 - User email check menu callback file for email_verify module.
Code
function email_verify_checkall() {
$content = "<table>";
$found = 0;
$result = db_query('SELECT uid, name, mail FROM {users}');
while ($row = db_fetch_object($result)) {
if (email_verify_check($row->mail)) {
$content .= "<tr><td><a href='?q=user/{$row->uid}/edit'>" . check_plain($row->name) . "</a><td>" . check_plain($row->mail);
if (++$found >= 100) {
break;
}
}
}
$content .= "</table>";
unset($found, $result, $row);
// Destroy variables
print theme("page", $content);
}