Jump to content

Domain validation php script.


zohab

Recommended Posts

Here you go, if you modify it to read the right regex this script will work.

 

Example useage: val.php?e=google.com (will return valid, currently doesnt work for [email protected], you need regex to read it right);

<?php
error_reporting(0);
function Status($site, $port){
$fp = fsockopen($site,$port,$errno,$errstr,1);
if(!$fp){
echo "<font color='red'><strong>Invalid</strong></font>";
} else {
echo "<font color='green'><strong>Valid!</strong></font>";
fclose($fp);
}
}
Status("$_GET[e]","80");
?>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.