Closed idlefire closed 3 years ago
getKey.php
if($_SERVER["HTTP_ORIGIN"]=="") { header("Access-Control-Allow-Origin: *"); } else{ header("Access-Control-Allow-Origin: ".$_SERVER["HTTP_ORIGIN"]); $row["flag"]=base64_decode("ZmxhZ3thcGk3X2U3MWI2NTA3MTY0NWUyNGVkNTBhfQ=="); } ...... if(mysqli_num_rows($result) > 0) { http_response_code(200); $row=$result->fetch_assoc(); $row["success"]="true"; print json_encode($row); }
$result->fetch_assoc() overwrite $row,$row["flag"] is null.
Hey,
Thanks for pointing this out . Can you check 19ff3734d342439b6a5a68d258c365913bfbe19e and Let me know
getKey.php