<?php
require_once('ndnc.class.php');
if ($_POST['number']) {
$ndnc = new ndnclookup();
if ($ndnc->check($_POST['number'])) {
?>
<h1>Number is in the NDNC database</h1>
<?php
} else {
?>
<h1>Number is not in the NDNC database</h1>
<?php
}
}
?>
<form method="post">
<h1>NDNC Checker</h1>
Number:<input type="text" name="number"><br/>
<input type="submit">
</form>
|