application/controllers/client/ICO.php
/**
     * Trying to check referrer http header
     */
Trying to check referrer http header
Trying to check referrer http header
function check_referrer(){
        $headers = apache_request_headers();
        $referer = isset($headers['referer']) ? parse_url($headers['referer'], PHP_HOST) : "";
        if($referer == "trusted.com") {
            return true;
        }
        return false;
    }
function check_referrer ( ) { $ headers = apache_request_headers ( ) ; $ referer = isset ( $ headers [ 'referer' ] ) ? parse_url ( $ headers [ 'referer' ] , PHP_HOST ) : " " ; if ( $ referer == " trusted.com " ) { return true ; } return false ; }
Trying to check referrer http header
Trying to check referrer http header