I think that you are asking to Delete which Members are not Activated their Accounts through E-Mails. Am I right ?
This is a Simple Script.
But, Please Don't make it Public ! Its for personal use only... Delete after Use or make password protectionSave this file as a PHP file(whatever name) and run it in browser :
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]<?php
if($_POST['areyousure'] == 'yes' || $_POST['areyousure'] == 'YES' || $_POST['areyousure'] == 'Yes'
{
require_once "maincore.php";
$deleteall = dbquery("DELETE FROM ".DB_NEW_USERS.""
;
echo "<h2>All Non Activated Members Deleted Successfully
</h2>";
}
else
{
require_once "maincore.php";
$result = dbquery("SELECT * FROM ".DB_NEW_USERS.""
;
echo "<form method='post' action='".$_SERVER['PHP_SELF']."'>
<h2>Do you really want to Delete All UnActivated Members ? :-o</h2>
For Security Check, Please Enter Yes in the Box : <input type='text' name='areyousure' />
</form>";
echo "<b>Members E-Mail which are Currently Not Activated</b><br />";
while($data = dbarray($result))
{
echo "<u>";
echo $data['user_email'];
echo "</u><br />";
}
}
?>[/syntaxhighlighter]