Free age verification for any website
<a href="https://verify.nwmd.nl/index.php?age=21&redirect=https://yoursite.com/restricted">
Verify Age (21+)
</a>
✓ Easiest to implement | ✗ Parameters visible in URL
<?php
$params = [
'age' => 21,
'redirect' => 'https://yoursite.com/restricted',
'domain' => 'yoursite.com'
];
$encoded = base64_encode(json_encode($params));
$url = "https://verify.nwmd.nl/index.php?p=" . urlencode($encoded);
?>
<a href="<?php echo $url; ?>">Verify Age</a>
✓ Parameters hidden | ✓ More secure
function verifyAge(requiredAge = 18) {
const params = {
age: requiredAge,
redirect: window.location.href,
domain: window.location.hostname
};
const encoded = btoa(JSON.stringify(params));
window.location.href =
`https://verify.nwmd.nl/index.php?p=${encodeURIComponent(encoded)}`;
}
✓ Dynamic | ✓ Works with SPAs
<?php
if (isset($_GET['verified']) && $_GET['verified'] == '1') {
// User successfully verified their age
session_start();
$_SESSION['age_verified'] = true;
header("Location: /restricted-content");
} elseif (isset($_GET['cancelled'])) {
// User cancelled or is underage
header("Location: /");
}
?>
age - Required age (default: 18)redirect - Return URL after verificationdomain - Your domain (for cookies)verified=1 - Age verifiedtoken - Verification tokencancelled=1 - User cancelledTry these example links to see how it works:
This is a free service. No API keys required.
Questions? Email: [email protected]