<?php

$get_key = isset($_GET['key']) ? $_GET['key'] : '';

$key = "qfNW6T5Ivr";

if ( $get_key <> $key ){
 // echo "Invalid Key";
 exit;
} 

Related Keywords: Developer, How-to, Solved, API Key