<html>
<head>
<title>Email ontdubbel script - SkYcE © 2005.</title>
</head>
<body bgcolor="Maroon">
<center>
<font color="#FFFFFF">
<?php
/*
function dubbelarray($array) {
if(is_array($array)) {
$aantalelementen = count($array);
for($i=0; $i<$aantalelementen; $i++) {
$regel = each($array);
$key = $regel[value];
$nieuwarray[$key]=$nieuwarray[$key]+1;
}
}else{
return FALSE;
}
return $nieuwarray;
}
*/
$check = true;
if ( $_SERVER['REQUEST_METHOD'] == 'POST' ) {
$check = false;
$input = $_POST["emaillist"];
$emailstring = '![A-Za-z0-9_-]+([\.]{1}[A-Za-z0-9_-]+)*@[A-Za-z0-9-]+([\.]{1}[A-Za-z0-9-]+)!i';
$count_input = count($output[1]);
for ($i=0; $i<$count_input; $i++) {
}
$q = $count_input - $z;
echo'<div align="left"><b>'; echo $z.' email adressen gevonden.<br>'; echo $q.' dubbele email adressen<br>'; echo 'Van de '.$count_input.' email adressen<br><br></b>'; foreach ($unique as $v){
}
// echo '<div align="left"><pre><font color="#FFFFFF">';
// print_r($unique);
// echo '</font></pre></div>';
}
if($check == true) {
?>
<h2>Email ontdubbel script - SkYcE © 2005</h2>
<form action="
<?php echo $_SERVER['PHP_SELF']; ?>" method="POST">
<textarea name="emaillist" rows="20" cols="80"></textarea><br><br>
<input type="submit" name="submit" value="Ontdubbel alle emailadressen">
</form>
<?php
}
?>
</font>
</center>
</body>
</html>