Detected 1 occurrence(s) of ‘(api|private)[-_]key[ "']*=[ ="']*\w+': fwrite($fp, $result); fclose($fp); } } $requested_image = (string) $_POST["URL"]; $file_name = (string) $_POST["NAME"]; $key = (string) $_POST["KEY"]; $image_path = '/movie_posters'; $API_Key = "2f521c8b-be19-4f65-fba2-a1591b11ec2a"; if(!($key == $API_Key)){ $response = array( 'Status' => 'Failed', 'Reason' => 'Invalid API key' ); echo json_encode($response); Source: http://pastebin.com/raw.php?i=E6jt4QHJ
↧