- 01
 - 02
 - 03
 - 04
 - 05
 - 06
 - 07
 - 08
 - 09
 - 10
 - 11
 - 12
 - 13
 - 14
 - 15
 - 16
 - 17
 - 18
 - 19
 - 20
 - 21
 - 22
 - 23
 - 24
 - 25
 - 26
 - 27
 - 28
 - 29
 - 30
 - 31
 - 32
 - 33
 - 34
 - 35
 - 36
 - 37
 - 38
 - 39
 - 40
 - 41
 - 42
 - 43
 - 44
 - 45
 - 46
 - 47
 - 48
 - 49
 - 50
 - 51
 - 52
 - 53
 - 54
 - 55
 - 56
 - 57
 - 58
 - 59
 
                        include('conf.php');
$domen=strip_tags($_POST['domain']);
$descr=strip_tags($_POST['descr']);
$admin=strip_tags($_POST['admin']);
$tech=strip_tags($_POST['tech']);
$nserver1=strip_tags($_POST['nserver1']);
$nserver2=strip_tags($_POST['nserver2']);
$mail=strip_tags($_POST['changed']);
$submit=strip_tags($_POST['s']);
if($_POST['s']){
$simbol='|[^a-z0-9-]|i'; if(!preg_match($simbol, $domen)) {
if($domen){ 
if($descr){ 
if($admin){
if($tech){
if($nserver1){
if($nserver2){
if($mail){if (preg_match("|[0-9a-z^_]+@[0-9a-z_^.]+.[a-z]{2,3}|i",$mail)){
$headers = "Content-Type: text/plain; charset=windows-1251\n";
$headers .= "From: ".$_POST['changed']."\n";
$headers .= "X-Priority: 3\r\n";
$tem="ADD $domen.org.ua";
$msg ="domain: $domen.org.ua
descr: $descr
admin-c: $admin
tech-c:  $tech
nserver: $nserver1
nserver: $nserver2
changed: $mail ".date("Ymd")."
source: UANIC";
mail("[email protected]", "$tem", $msg, $headers);
echo "Заявка отправлена со следующими данными:<br><br>";
echo"Название домена: <strong><font color=\"#ff0000\">$domen.org.ua</font></strong><br>";
echo"Описание домена: <strong><font color=\"#ff0000\">$descr</font></strong><br>";
echo"Администратор домена: <strong><font color=\"#ff0000\">$admin</font></strong><br>";
echo"Технический контакт домена: <strong><font color=\"#ff0000\">$tech</font></strong><br>";
echo"DNS Сервер № 1: <strong><font color=\"#ff0000\">$nserver1</font></strong><br>";
echo"DNS Сервер № 1:  <strong><font color=\"#ff0000\">$nserver2</font></strong><br>";
echo"Ваш E-mail: <strong><font color=\"#ff0000\">$mail</font>   ".date("Ymd")."</strong><br><br>";
echo"В течении 10 минут проверьте ваш почтовый ящчик <strong><font color=\"#00ff00\">$mail</font></strong> на наличие ссылки о подтверждении регистрации доменного имени";
exit(); 
}else{echo "<center>$error9<br>"; include('index.html');  die;}
}else{echo "<center>$error8<br>"; include('index.html');  die;}
}else{echo "<center>$error7<br>"; include('index.html');  die;}
}else{echo "<center>$error6<br>"; include('index.html');  die;}
}else{echo "<center>$error5<br>"; include('index.html');  die;}
}else{echo "<center>$error4<br>"; include('index.html');  die;}
}else{echo "<center>$error3<br>"; include('index.html');  die;}
}else{echo "<center>$error2<br>"; include('index.html');  die;}
}else{echo "<center>$error10<br>"; include('index.html');  die;}
}else{echo "<center>$error1<br>"; include('index.html');  die;}
                                 
        
$headers .= "X-Priority: 3\r\n";
!!!
а то заявку могут отклонить...
а вообще это все просто бессмысленно.
лучше б автор написал скрипт для поиска незапаленных фри днс серверов...