diff --git a/connect_db.php b/connect_db.php
index d5883d8..c4480a4 100644
--- a/connect_db.php
+++ b/connect_db.php
@@ -1,5 +1,5 @@
Verbindung nicht hergestellt
");
diff --git a/registrierung.php b/registrierung.php
index 5becf10..658ac54 100644
--- a/registrierung.php
+++ b/registrierung.php
@@ -1,4 +1,5 @@
+
+
+
+
+
+
+
+ Candle Bibliothek | Registrierung
+
+
+
+
+
+
+
+
+ Bibliothek
+
Candle
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ';
}else if (!preg_match("/^[A-Za-zÄÖÜäöüß -]*$/", $vorname)
|| !preg_match("/.{2,}/", $vorname)
@@ -23,7 +198,181 @@
|| !preg_match("/^([A-ZÄÖÜa-zäöüß]{2,}[ -]?)+$/", $vorname)
|| !preg_match("/(\w)\1{2,}/", $vorname)) {
-
+ echo '
+
+
+
+
+
+
+
+
+ Candle Bibliothek | Registrierung
+
+
+
+
+
+
+
+
+ Bibliothek
+
Candle
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ';
}else if (!preg_match("/^[A-Za-zÄÖÜäöüß -]*$/", $nachname)
@@ -33,22 +382,718 @@
|| !preg_match("/(\w)\1{2,}/", $nachname)
|| !preg_match("/[A-ZÄÖÜ][a-zäöüß]+[ ]+[A-ZÄÖÜ][a-zäöüß]+/", $nachname)
|| !preg_match("/^(von( der)?|zu)[ ][A-ZÄÖÜ]|^[A-ZÄÖÜ]/", $nachname)) {
-
+ echo '
+
+
+
+
+
+
+
+
+ Candle Bibliothek | Registrierung
+
+
+
+
+
+
+
+
+ Bibliothek
+
Candle
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ';
}else if ( !preg_match("/.{2,}/", $strasse)
|| !preg_match("/^[^0-9]*$|[0-9]$/", $strasse)
|| !preg_match("/^[A-Za-z0-9ÄÖÜäöüß' -]+$/", $strasse)
|| !preg_match("/^[A-ZÄÖÜ][ -]?[a-zäöü0-9ß']+([ -]?[A-ZÄÖÜ0-9][A-Za-z0-9ÄÖÜäöüß']+)*$/", $strasse)
|| !preg_match("/[0-9]$|[a-zäöüß]$/", $strasse)) {
-
+ echo '
+
+
+
+
+
+
+
+
+ Candle Bibliothek | Registrierung
+
+
+
+
+
+
+
+
+ Bibliothek
+
Candle
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ';
}else if ( !preg_match("/^[0-9]/", $hausnummer)
|| !preg_match("/^0/", $hausnummer)
|| !preg_match("/^[A-Za-z0-9ÄÖÜäöüß' -]+$/", $hausnummer)
|| !preg_match("/^[1-9][0-9]{0,3}[a-z]?$/", $hausnummer)){
-
+ echo '
+
+
+
+
+
+
+
+
+ Candle Bibliothek | Registrierung
+
+
+
+
+
+
+
+
+ Bibliothek
+
Candle
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ';
}else if ( !preg_match("/^(0100[1-9]|010[1-9][0-9]|01[1-9][0-9]{2}|0[2-9][0-9]{3}|[1-9][0-9]{4})$/", $plz)){
-
+ echo '
+
+
+
+
+
+
+
+
+ Candle Bibliothek | Registrierung
+
+
+
+
+
+
+
+
+ Bibliothek
+
Candle
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ';
}else if ( !preg_match("/.{2,}/", $ort)
|| !preg_match("/[ \/-][ \/-]/", $ort)
|| !preg_match("/^[A-ZÄÖÜa-zäöüß \/-]+$/", $ort)
@@ -56,18 +1101,888 @@
|| !preg_match("/^[A-ZÄÖÜ]/", $ort)
|| !preg_match("/[a-zäöüß]$/", $ort)
|| !preg_match("/^[A-ZÄÖÜ][a-zäöüß]+([ -\/][A-ZÄÖÜa-zäöü][a-zäöüß]+)*$/", $ort)){
-
- }else if ( !preg_match("/[A-Za-z0-9_!#$%&'*+-\/=?^_`.{|}~]+[@][A-Za-z0-9-]+[.][A-Za-z]{2,}/", $ort)){
+ echo '
+
+
+
+
+
+
+
+ Candle Bibliothek | Registrierung
+
+
+
+
+
+
+
+
+ Bibliothek
+
Candle
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ';
+ }else if ( !preg_match("/[A-Za-z0-9_!#$%&'*+-\/=?^_`.{|}~]+[@][A-Za-z0-9-]+[.][A-Za-z]{2,}/", $ort)){
+ echo '
+
+
+
+
+
+
+
+
+ Candle Bibliothek | Registrierung
+
+
+
+
+
+
+
+
+ Bibliothek
+
Candle
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ';
}else if($email != $emailrep){
-
+ echo '
+
+
+
+
+
+
+
+
+ Candle Bibliothek | Registrierung
+
+
+
+
+
+
+
+
+ Bibliothek
+
Candle
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ';
}else if (!preg_match("/^(?=.*[A-ZÄÖÜ])(?=.*[a-zäöüß])(?=.*[0-9])(?=.*[!°`´@#$%^&*()_+\-=\[\]{};':\"\\|,.<>\/?]).{6,}$/", $hausnummer)
|| !preg_match("/.{6,}/", $ort)){
-
- }else if($passwort != $passwortrep){
-
- }else{
+ echo '
+
+
+
+
+
+
+
+ Candle Bibliothek | Registrierung
+
+
+
+
+
+
+
+
+ Bibliothek
+
Candle
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ';
+ }else if($passwort != $passwortrep){
+ echo '
+
+
+
+
+
+
+
+
+ Candle Bibliothek | Registrierung
+
+
+
+
+
+
+
+
+ Bibliothek
+
Candle
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ';
+ }else{
+
}
}