I hereby claim:
- I am eddieringle on github.
- I am eddieringle (https://keybase.io/eddieringle) on keybase.
- I have a public key ASBXWoQrKrN87i6ilKnDBWvgWuQO6YMd3gZy2rQJZ81Qzwo
To claim this, I am signing this object:
#include <stdlib.h> | |
#include <string.h> | |
#ifndef barr_malloc | |
# define barr_malloc(sz) malloc(sz) | |
#endif | |
#ifndef barr_realloc | |
# define barr_realloc(ptr, sz) realloc(ptr, sz) | |
#endif |
I hereby claim:
To claim this, I am signing this object:
<?php | |
/* Let's say the variable $input contains a user-submitted link */ | |
$parsed_url = parse_url($input); | |
if ($parsed_url != false) { | |
/* The domain should be found using the 'host' key */ | |
$domain = $parsed_url['host']; | |
/* Now check that domain against the DBL */ | |
$dbl_record = dns_get_record($domain); |