GOOGLE
<?php
session_start();
error_reporting(0);
include('dbcon.php');
if(isset($_POST['code_verify'])){
extract($_POST);
$select = mysql_query("SELECT * FROM `registration` WHERE `name`='".$name."' AND `lname`='".$lname."' AND `status`=1");
$rows = mysql_num_rows($select);
$rowsss = mysql_fetch_array($select);
if($rows==1){
$insert = mysql_query("UPDATE `registration` SET `code`='".$code."',`mobile_no`='".$mobile."',`other_email_id`='".$emilid."' WHERE `name`='".$name."' AND `lname`='".$lname."'");
$user = "aganihotari collage";
$pass = "aganihotari@123";
//echo $sms = "http://5.189.153.48:8080/vendorsms/pushsms.aspx?user=aganihotari%20 collage&password=aganihotari@123&msisdn=".$mobile."&sid=AGNIHT&msg=".$code."&fl=0&gwid=2";
?>
<iframe src="http://5.189.153.48:8080/vendorsms/pushsms.aspx?user=aganihotari%20 collage&password=aganihotari@123&msisdn=<?php echo $mobile; ?>&sid=AGNIHT&msg=One%20Time%20Passwords%20is%20<?php echo $code;?>.%20A%20One%20Time%20Password(OTP)%20is%20a%20unique%20code,%20entered%20into%20your%20application%20signup%20flow%20for%20additional%20security.&fl=0&gwid=2" style="visibility:hidden;"></iframe>
<?php
echo "<script>
alert('OTP sent on you registerd Mobile Number ".$mobile." please check and use OTP for Registration');
window.location.href='signup.php?name=".ucfirst($name)."&&lname=".ucfirst($lname)."&&email=".$emilid."';
</script>";
}elseif($rowsss['status']==0){
echo "<script>
alert('You have Already Registered to ACP Wardha Please go to login page');
window.location.href='loginpage.php';
</script>";
}else{
echo "<script>
alert('Sorry please Enter Correct Information');
window.location.href='index.php';
</script>";
}
}
?>
<style type="text/css">
iframe{
display: none;
}
</style>
Copyright © 1945 -