| 1 |
lars |
1 |
<?
|
|
|
2 |
if (isset($action))
|
|
|
3 |
{
|
|
|
4 |
// elemente zusammenfügen
|
|
|
5 |
foreach(array_keys($Feld) as $elem)
|
|
|
6 |
{
|
|
|
7 |
if (gettype($Feld[$elem])=="array")
|
|
|
8 |
{
|
|
|
9 |
$Feld[$elem]=implode(".",$Feld[$elem]);
|
|
|
10 |
}
|
|
|
11 |
}
|
|
|
12 |
|
|
|
13 |
// Werte prüfen
|
|
|
14 |
// DNS-Server
|
|
|
15 |
if ( (!isset($Feld["7a"])) or (!isset($Feld["7b"])) )
|
|
|
16 |
{
|
|
|
17 |
$Feld["7a"]="ns.webagentur-online.de";
|
|
|
18 |
$Feld["7b"]="213.68.40.76";
|
|
|
19 |
}
|
|
|
20 |
if ( (!isset($Feld["8a"])) or (!isset($Feld["8b"])) )
|
|
|
21 |
{
|
|
|
22 |
$Feld["8a"]="ns3.webagentur-online.de";
|
|
|
23 |
$Feld["8b"]="195.126.140.57";
|
|
|
24 |
}
|
|
|
25 |
// Zeitraum min 2 Jahre
|
|
|
26 |
if ($Feld["9a"] < 2)
|
|
|
27 |
{
|
|
|
28 |
$Fehler="Der Mindestzeitraum beträgt 2 Jahre !";
|
|
|
29 |
return $Fehler;
|
|
|
30 |
}
|
|
|
31 |
|
|
|
32 |
// Template erstellen
|
|
|
33 |
$template=array(
|
|
|
34 |
"Authorization",
|
|
|
35 |
"0a. (N)ew (M)odify (D)elete......: ".$Feld["0a"],
|
|
|
36 |
"0b. Auth Scheme..................: PW",
|
|
|
37 |
"0c. Auth Info....................: ",
|
|
|
38 |
"",
|
|
|
39 |
"1. Comments.....................: ".$Feld["1"],
|
|
|
40 |
"",
|
|
|
41 |
"2. Complete Domain Name.........: ".$Feld["2"],
|
|
|
42 |
"",
|
|
|
43 |
"Organization Using Domain Name",
|
|
|
44 |
"3a. Organization Name............: ".$Feld["3a"],
|
|
|
45 |
"3b. Street Address...............: ".$Feld["3b"],
|
|
|
46 |
"3c. City.........................: ".$Feld["3c"],
|
|
|
47 |
"3d. State........................: ".$Feld["3d"],
|
|
|
48 |
"3e. Postal Code..................: ".$Feld["3e"],
|
|
|
49 |
"3f. Country......................: ".$Feld["3f"],
|
|
|
50 |
"3g. E-Mailbox....................: ".$Feld["3g"],
|
|
|
51 |
"",
|
|
|
52 |
"Administrative Contact",
|
|
|
53 |
"4a. Handle (if known)............: ".$Feld["4a"],
|
|
|
54 |
"4b. (I)ndividual (R)ole..........: ".$Feld["4b"],
|
|
|
55 |
"4c. Name (Last, First)...........: ".$Feld["4c"],
|
|
|
56 |
"4d. Organization Name............: ".$Feld["4d"],
|
|
|
57 |
"4e. Street Address...............: ".$Feld["4e"],
|
|
|
58 |
"4f. City.........................: ".$Feld["4f"],
|
|
|
59 |
"4g. State........................: ".$Feld["4g"],
|
|
|
60 |
"4h. Postal Code..................: ".$Feld["4h"],
|
|
|
61 |
"4i. Country......................: ".$Feld["4i"],
|
|
|
62 |
"4j. Phone Number.................: ".$Feld["4j"],
|
|
|
63 |
"4k. Fax Number...................: ".$Feld["4k"],
|
|
|
64 |
"4l. E-Mailbox....................: ".$Feld["4l"],
|
|
|
65 |
"",
|
|
|
66 |
"Technical Contact",
|
|
|
67 |
"5a. Handle (if known)............: ".$Feld["5a"],
|
|
|
68 |
"5b. (I)ndividual (R)ole..........: ".$Feld["5b"],
|
|
|
69 |
"5c. Name (Last, First)...........: ".$Feld["5c"],
|
|
|
70 |
"5d. Organization Name............: ".$Feld["5d"],
|
|
|
71 |
"5e. Street Address...............: ".$Feld["5e"],
|
|
|
72 |
"5f. City.........................: ".$Feld["5f"],
|
|
|
73 |
"5g. State........................: ".$Feld["5g"],
|
|
|
74 |
"5h. Postal Code..................: ".$Feld["5h"],
|
|
|
75 |
"5i. Country......................: ".$Feld["5i"],
|
|
|
76 |
"5j. Phone Number.................: ".$Feld["5j"],
|
|
|
77 |
"5k. Fax Number...................: ".$Feld["5k"],
|
|
|
78 |
"5l. E-Mailbox....................: ".$Feld["5l"],
|
|
|
79 |
"",
|
|
|
80 |
"Billing Contact",
|
|
|
81 |
"6a. Handle (if known)............: MN2730-RIPE",
|
|
|
82 |
"6b. (I)ndividual (R)ole..........: I",
|
|
|
83 |
"6c. Name (Last, First)...........: Niewerth, Martin",
|
|
|
84 |
"6d. Organization Name............: Webagentur Niewerth",
|
|
|
85 |
"6e. Street Address...............: Schillerstr. 27",
|
|
|
86 |
"6f. City.........................: Gladbeck",
|
|
|
87 |
"6g. State........................: NRW",
|
|
|
88 |
"6h. Postal Code..................: 45964",
|
|
|
89 |
"6i. Country......................: DE",
|
|
|
90 |
"6j. Phone Number.................: +49.2043929171",
|
|
|
91 |
"6k. Fax Number...................: ",
|
|
|
92 |
"6l. E-Mailbox....................: admin@weban.de",
|
|
|
93 |
"",
|
|
|
94 |
"Primary Name Server",
|
|
|
95 |
"7a. Primary Server Hostname......: ".$Feld["7a"],
|
|
|
96 |
"7b. Primary Server Netaddress....: ".$Feld["7b"],
|
|
|
97 |
"",
|
|
|
98 |
"Secondary Name Server(s)",
|
|
|
99 |
"8a. Secondary Server Hostname....: ".$Feld["8a"],
|
|
|
100 |
"8b. Secondary Server Netaddress..: ".$Feld["8b"],
|
|
|
101 |
"",
|
|
|
102 |
"Product/Service Options (For New Registrations Only)",
|
|
|
103 |
"9a. Registration Period (1-10yrs): ".$Feld["9a"],
|
|
|
104 |
);
|
|
|
105 |
|
|
|
106 |
// Mail abschicken
|
|
|
107 |
|
|
|
108 |
$to="info@weban.de";
|
|
|
109 |
$subject="REG: ".$Feld["2"];
|
|
|
110 |
$text = implode("\n",$template);
|
|
|
111 |
$headers["From"]="From: Webagentur Niewerth <robot@weban.de>";
|
|
|
112 |
$headers["CC"]="CC: Martin Niewerth <niewerth@weban.de>";
|
|
|
113 |
$headers=implode("\n",$headers);
|
|
|
114 |
|
|
|
115 |
mail($to, $subject, $text, $headers);
|
|
|
116 |
}
|
|
|
117 |
?>
|
|
|
118 |
<html>
|
|
|
119 |
<head>
|
|
|
120 |
<title>Untitled Document</title>
|
|
|
121 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
|
122 |
<meta name="author" content="Webagentur Niewerth - www.weban.de">
|
|
|
123 |
<meta name="revisit-after" content="30 days">
|
|
|
124 |
<meta name="language" content="deutsch, de">
|
|
|
125 |
<meta name="distribution" content="global">
|
|
|
126 |
<meta name="robots" content="all">
|
|
|
127 |
<style type="text/css">
|
|
|
128 |
<!--
|
|
|
129 |
td { font-family: Arial, Helvetica, sans-serif; font-size: 10pt}
|
|
|
130 |
-->
|
|
|
131 |
</style>
|
|
|
132 |
</head>
|
|
|
133 |
|
|
|
134 |
<body bgcolor="#FFFFFF" text="#000000">
|
|
|
135 |
success
|
|
|
136 |
</body>
|
|
|
137 |
</html>
|