- per abilitare la scrittura settare la seguente variabile ".
"restricted_petar = false nel file : include/cfg-mail.php
";
require 'include/inc-footer.php';
exit;
}
$_REQUEST["step"]=$_REQUEST["step"] ?? null;
if (!$_REQUEST["step"]){
$sql="SELECT domain FROM MAILUSER group by domain order by domain";
$result=$dbh->query($sql);
$rows=$result->fetchAll();
echo "email in nuovo dominio".
"";
if ( count($rows) > 0 ) {
echo "email in dominio esistente".
"".
"
";
}
}
if ($_REQUEST["step"] == "1"){
if ($_REQUEST["domain"]){
$_REQUEST["domain"] = preg_replace("/[^A-Za-z0-9.-]/", '', $_REQUEST["domain"]);
# Make some defaults
# Pwd
$stringa = "1qaz2wsx3edc4rfv5tgb6yhn7ujm8ikolp";
$pwd=substr(str_shuffle($stringa),0,6);
echo "Ultime (max 30) email del dominio: ".$_REQUEST["domain"]."".
"