1 | 1 |
new file mode 100755 |
... | ... |
@@ -0,0 +1,19 @@ |
1 |
+<?php |
|
2 |
+include('fonctions.php'); |
|
3 |
+ |
|
4 |
+$login=$_GET['Login']; |
|
5 |
+$pass=$_GET['Pass']; |
|
6 |
+$pass2=$_GET['Pass2']; |
|
7 |
+ |
|
8 |
+$erreurLogin = existe_Log($login); |
|
9 |
+if($erreurLogin === true){ |
|
10 |
+ header("location: inscription.php?erreurPass=2"); |
|
11 |
+}else{ |
|
12 |
+ if($pass!==$pass2){ |
|
13 |
+ header("location: inscription.php?erreurPass=1"); |
|
14 |
+ }else{ |
|
15 |
+ creation_id($login,$pass); |
|
16 |
+ header("location: EcranAcceuil.html"); |
|
17 |
+ } |
|
18 |
+} |
|
19 |
+?> |
|
0 | 20 |
\ No newline at end of file |