$_SESSION["userid"]; if($_SESSION["userid"]=="") { header("location:index.php"); } $ses_ma_id=$_SESSION["mobile"]; $browsessionid=session_id(); ?> $sessionid_free=$_SESSION["mobile"]; ?> $objitem = mysql_query("SELECT * from shop_user where phone='$sessionid_free'"); $Fetitem = mysql_fetch_array($objitem); $cust_id=$Fetitem['user_id']; $country=$Fetitem['country']; $new_sataus=$Fetitem['new_status']; ?> $browsessionid=session_id(); $objqrynewsubee = "SELECT amount AS amtTotal FROM tbl_appointment where session_id='$browsessionid' and status='0'"; $objResultnewsubee = mysql_query($objqrynewsubee); $Fetchnewww = mysql_fetch_array($objResultnewsubee); $subtotal=$Fetchnewww['amtTotal']; $objqryne_app = "SELECT * FROM tbl_appointment where session_id='$browsessionid' and status='0'"; $obj_app = mysql_query($objqryne_app); $Fet_app = mysql_fetch_array($obj_app); $tx= "Txn" . rand(10000,99999999); $me_kay="iz3S9EJU"; $amount=$subtotal; $fname=$Fetitem['name']; $appid=$Fet_app['mem_id']; $pinfo=$Fetitem['name']; $email=$Fetitem['email']; $udf5="BOLT_KIT_PHP7"; $salt="BwgrLSotC7"; $hash=hash('sha512', $me_kay.'|'.$me_kay.'|'.$amount.'|'.$pinfo.'|'.$fname.'|'.$email.'|||||'.$udf5.'||||||'.$salt); ?> $_SESSION["userid"]; session_start(); /*if($_SESSION["userid"]=="") { header("location:index.php"); }*/ $sessionid_free=$_SESSION["userid"]; ?>