-
Notifications
You must be signed in to change notification settings - Fork 1
/
neki.php
executable file
·51 lines (47 loc) · 1.49 KB
/
neki.php
1
2
3
4
5
6
7
8
9
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
<?php
require_once 'user.php';
require_once 'companys.php';
require_once 'universitys.php';
$s=new Students_user();
$c=new companys();
$u=new universitys();
if(@$_POST['users_Username']){
$t1=$s->user_exist($_POST['users_Username']);
$t2=$s->valid_username($_POST['users_Username']);
$t3=$c->user_exist($_POST['users_Username']);
$t4=$u->user_exist($_POST['users_Username']);
if($t1==true && $t2==true && $t3==true && $t4==true) echo "true";
else echo "false";
}
if(@$_POST['users_Email']){
$t=$s->mail_exist($_POST['users_Email']);
if($t==true) echo "true";
else echo "false";
}
if(@$_POST['cm_Login_email']){
$t=$c->mail_exist($_POST['cm_Login_email']);
if($t==true) echo "true";
else echo "false";
}
if(@$_POST['un_Login_email']){
$t=$u->mail_exist($_POST['un_Login_email']);
if($t==true) echo "true";
else echo "false";
}
if(@$_POST['cm_Username']){
$t1=$s->user_exist($_POST['cm_Username']);
$t2=$s->valid_username($_POST['cm_Username']);
$t3=$c->user_exist($_POST['cm_Username']);
$t4=$u->user_exist($_POST['cm_Username']);
if($t1==true && $t2==true && $t3==true && $t4==true) echo "true";
else echo "false";
}
if(@$_POST['un_Username']){
$t1=$s->user_exist($_POST['un_Username']);
$t2=$s->valid_username($_POST['un_Username']);
$t3=$c->user_exist($_POST['un_Username']);
$t4=$u->user_exist($_POST['un_Username']);
if($t1==true && $t2==true && $t3==true && $t4==true) echo "true";
else echo "false";
}
?>