Yapmak istediğim aşağıda ki sorgu sayfasında captcha olmadan işlem yapabilmek yada adam gibi bir captcha kullanabilmek
<?php
include("config.php");
$hata1='';
$hata2='';
$hata3='';
if(isset($_POST['guvenlikKodu']) && $_POST['guvenlikKodu']){
$guvenlikKontrol = false;
if($_POST['guvenlikKodu'] == $_SESSION['guvenlikKodu']){
$guvenlikKontrol = true;
}
if ($guvenlikKontrol){
if (!empty($_POST['loginSubmit'])){
$imei=$_POST['imei'];
$_SESSION['imei']=$imei;
if(strlen(trim($imei))>1){
$url=BASE_URL.'home.php';
header("Location: $url");
}
}
} else {
$hata2='Güvenlik resmini yanlış girdiniz!';
}
}
if (!empty($_POST['loginSubmit'])){
if (empty($_POST['imei'])){
$hata1='İmei boş bırakılamaz.';
}
if (empty($_POST['guvenlikKodu'])){
$hata3='Güvenlik Kodu boş bırakılamaz. ';
}
}
?>
<!DOCTYPE html>
<html lang="tr-TR">
<head>
<meta charset="UTF-8" />
<title>MIUI Türkiye - IMEI Sorgulama</title>
<meta name="description" content=""/>
<meta name="keywords" content=""/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
*{
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
box-sizing:border-box;
}
body, html{
background:#4293D4;
font-family: 'Open Sans', sans-serif;
}
.container{
width:400px;
height:600px;
background:#fff;
margin:20px auto;
border-radius:4px;
text-align:center;
position:relative;
-moz-box-shadow: 0px 0px 28px rgba(0,0,0,.3);
-webkit-box-shadow: 0px 0px 28px rgba(0,0,0,.3);
box-shadow: 0px 0px 28px rgba(0,0,0,.3);
overflow:hidden;
}
.one , .two{
display:block;
height:500px;
width:400px;
margin:0px auto;
position:absolute;
-webkit-transition: all 600ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
transition: all 600ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.one{
top:0;
background:#fff;
margin-top:20px;
}
.two{
top:500px;
background:#ffc107;
}
.two h3{
color:#fff;
padding-top:240px;
}
.container .logo{
width:40%;
height:auto;
display:block;
margin:20px auto;
}
.one .heading{
color:#607d8b;
text-transform:capitalize;
font-size:20px;
fonr-weight:900;
margin-top:40px;
}
.container p{
font-size:12px;
color:#b7b7b7;
font-weight:lighter;
text-transform:capitalize;
}
input[type='text']{
width:85%;
height:60px;
margin-top:20px;
margin-bottom:20px;
padding-bottom:-80px;
border:none;
border-bottom:3px solid #ffc107;
overflow:auto;
position:relative;
}
input[type='text'].span5 {
width:50%;
height:50px;
margin-top:20px;
margin-bottom:20px;
padding-bottom:-80px;
border:none;
border-bottom:3px solid #ffc107;
overflow:auto;
position:relative;
right: 20px;
}
input[type='text']:active:focus,
input[type='text']:focus,
input[type='text']:hover{
outline : none;
font-size:20px;
}
input[type='text']:focus::-webkit-input-placeholder,
input[type='text']:active:focus::-webkit-input-placeholder
{
font-size:12px;
display:block;
-webkit-transform:translateY(-20px);
transform:translateY(-20px);
}
::-webkit-placeholder{
font-size:14px;
color:#b7b7b7;
text-transform:capitalize;
-webkit-transform:translateY(0px);
transform:translateY(0px);
-webkit-transition: all .3s ease-in-out;
transition: all .3s ease-in-out;
}
::placeholder{
font-size:14px;
color:#b7b7b7;
text-transform:capitalize;
-webkit-transform:translateY(0px);
transform:translateY(0px);
-webkit-transition: all .3s ease-in-out;
transition: all .3s ease-in-out;
}
.one .btn{
width:85%;
background:#ffc107;
padding:15px;
border:none;
border-radius:5px;
font-size:14px;
color:#fff;
text-transform:capitalize;
font-family: 'Open Sans', sans-serif;
}
.one .btn:active:focus,
.one .btn:focus,
.one .btn:hover{
outline : none;
}
.one .btn:hover{
cursor:pointer;
}
.close{
position:relative;
top:0;
left:0;
display:block;
cursor:pointer;
}
.close:before{
content:"";
position:absolute;
top:-240px;
right:50px;
display:block;
width:22px;
height:3px;
background:#fff;
-webkit-transform:rotate(45deg);
transform:rotate(45deg);
}
.close:after{
content:"";
position:absolute;
top:-240px;
right:50px;
display:block;
width:22px;
height:3px;
background:#fff;
-webkit-transform:rotate(-45deg);
transform:rotate(-45deg);
}
.hata{
font-size:12px;
color:#FF0000;
}
.ht{
position: relative;
top: 10px;
right: 25px;
width: 100px;
height: 50px;
border: 3px solid #73AD21;
}
*{margin:0; padding:0;}
.menu{width:400px; height:48px; background:#000; margin:0 auto;border-bottom:4px solid red;}
.menu ul li {float:left;list-style-type:none;}
.menu ul li a{color:#fff; font:17px Arial;text-decoration:none;display:block; padding:14px 15px;transition:all .5s;-webkit-transition:all .5s;-moz-transition:all .5s;}
.menu ul li a:hover{
background:red;
color:white;
}
</style>
</head>
<body>
<section class="container">
<section class="one">
<div class="logo">
<a href="https://www.miuiturkiye.net/kvk/index.php"><img src="img/a.png"></a>
</div>
<h2 class="heading">
MIUI Türkiye - IMEI Sorgulama
</h2>
<p> Aşağıdaki bölüme ımei numaranızı yazınız. <div class="hata"><?php $hatalar="$hata1$hata2$hata3"; echo "$hatalar";?></div>
</p>
<form action="index.php" method="post" name="login">
<div class="input-append">
<input type="text" name="imei" maxlength="15" pattern="\d*" placeholder="IMEI numaranız" onkeypress="return isNumberKey(event)"/>
<input type="text" name="guvenlikKodu" id="guvenlikKodu" class="span5" maxlength="6" placeholder="Güvenlik Kodu"/>
<img src="https://www.miuiturkiye.net/kvk/captcha/guvenlik-kodu.php" class="ht"/>
<button type="submit" value="Login" name="loginSubmit" class="btn">Sorgula</button>
</div>
</form>
</section>
</section>
</body>
</html>