GOOGLE

aku nok ndi : /home/astwardha/public_html/polylibrary/
File Up :
aku nok ndi : /home/astwardha/public_html/polylibrary/submit.php

<?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);
			 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
			 /*$to = $emilid;
		        $subject = "Agnihotri College Of Pharmacy OTP";
		        $message = "Hello ".$name." ".$lname.",
		        Your one-time password (OTP) is ".$code." A one-time password (OTP) is an automatically generated numeric or alphanumeric string of characters that authenticates the user for a registration.";

		          $headers .= "Reply-To:ACP Library <acp@acpwardha.org>\r\n"; 
		          $headers .= "Return-Path: Agnihotri College of Pharmacy <sender@domain.com>\r\n"; 
		          $headers .= "From: Agnihotri College of Pharmacy <sender@domain.com>\r\n";  
		          $headers .= "Organization: Sender Organization\r\n";
		          $headers .= "MIME-Version: 1.0\r\n";
		          $headers .= "Content-type: text/plain; charset=iso-8859-1\r\n";
		          $headers .= "X-Priority: 3\r\n";
		          $headers .= "X-Mailer: PHP". phpversion() ."\r\n" ;

		        mail($to,$subject,$message,$headers);*/
			 	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>";

			 }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 - 2024 GOOGLE