| Server IP : 64.202.187.69 / Your IP : 216.73.216.17 Web Server : Apache System : Linux 69.187.202.64.host.secureserver.net 3.10.0-1160.144.1.el7.tuxcare.els6.x86_64 #1 SMP Fri May 29 16:22:24 UTC 2026 x86_64 User : transmarket ( 1001) PHP Version : 7.2.34 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/transmarket/testtranslator/ |
Upload File : |
<?php
//error_reporting(E_ALL);
//ini_set('display_errors', 1);
session_start();
require 'controllers/connection.php';
$response = $_POST;
$credential_data = $_POST['credential'];
$credential_data_arr = explode(".",$credential_data);
$user_info_data = $credential_data_arr[1];
$user_info_data_json = base64_decode($user_info_data);
$user_info_data_arr = json_decode( $user_info_data_json, true );
if( $_SESSION['tm_email'] == $user_info_data_arr['email'] ) {
//echo "Your Google account verified successfully!";
$loginid = $_SESSION['tm_id'];
$sql1 = 'UPDATE `tbl_translators` SET `is_verified_google`= 1 WHERE id = ' . $loginid;
$result1 = $mysqli->query($sql1);
$_SESSION['tm_is_google_verified'] = 1;
header("location: /social-account-verify.php?msg=google_success");
} else {
header("location: /social-account-verify.php?msg=google_error");
}
?>