public static function getHeader($url)
    {
        $file_headers = @get_headers($url);
        if (empty($file_headers) || $file_headers[0] == 'HTTP/1.1 404 Not Found') {
            return 404;
        }

        if (empty($file_headers) || $file_headers[0] == 'HTTP/1.1 403 Forbidden') {
            return 403;
        }

        return 200;
    }