コード例 #1
0
function getdetail($domain, $serverid = 1)
{
    $serverlist[1] = "whois.domainlabs.eu";
    $serverlist[2] = "whois.domaintools.com";
    $serverlist[3] = "www.aboutus.org";
    $detailurl = "http://" . $serverlist[$serverid] . "/" . tr_strtolower($domain);
    return $detailurl;
}
コード例 #2
0
ファイル: cron.php プロジェクト: bmericc/domainhunter
 +-----------------------------------------------------------------------+
 | Domain Hunter - A Simple Domain Monitoring Application                |
 | Version 0.1.2                                                         |
 |                                                                       |
 | Copyright (C) 2006-2015, Bahri.Info - Turkey                          |
 |									 | 
 | This program is free software: you can redistribute it and/or modify  |
 | it under the terms of the GNU General Public License as published by  |
 | the Free Software Foundation, either version 3 of the License, or     |
 | (at your option) any later version.					 |
 |									 |
 | This program is distributed in the hope that it will be useful,	 |
 | but WITHOUT ANY WARRANTY; without even the implied warranty of	 |
 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the	 |
 | GNU General Public License for more details.				 |
 |									 |
 | You should have received a copy of the GNU General Public License	 |
 | along with this program.  If not, see <http://www.gnu.org/licenses/>. |                                     |
 |                                                                       |
 +-----------------------------------------------------------------------+
 | Author: Bahri Meric CANLI <*****@*****.**>                          |
 +-----------------------------------------------------------------------+
*/
include "sorgu.php";
include "config.inc.php";
include "functions.inc.php";
$b_s = "SELECT * FROM `monitors` ";
$b_r = mysql_query($b_s);
while ($sattir = mysql_fetch_array($b_r)) {
    $z = hunter_islemci(tr_strtolower($sattir['domain']));
}
コード例 #3
0
 $f = 0;
 // f for f**k your code :@
 while ($grey_control == "x") {
     $site = "http://www.terorarananlar.pol.tr/detaylar/Sayfalar/gritamliste.aspx?Paged=TRUE&p_ID={$x}";
     $content = file_get_contents($site);
     $info = find('<td class="ms-vb2">', '</td>', $content);
     if (empty($info[0])) {
         $grey_control = "xx";
     }
     $y = 0;
     while (isset($info[$y])) {
         $name = $info[$y];
         $y++;
         $city_date = $info[$y];
         $city_date = explode("-", $city_date);
         $city = tr_ucfirst(tr_strtolower($city_date[0]));
         $city = edit_city($city);
         $date = $city_date[1];
         $y++;
         $organization = $info[$y];
         $y++;
         $status = $info[$y];
         $y++;
         $old = $year - $date;
         $old = old($old);
         $person[$p] = array("{$name}", "{$city}", "{$date}", "{$organization}", "#808080", "Gri", "{$old}");
         $p++;
     }
     $f++;
     if ($f == 1) {
         $x = 84;
コード例 #4
0
    if (strlen($domain_array[0]) >= 3 && $domain_array[0] != "www" && ($domain_array[1] == "com" || $domain_array[1] == "net")) {
        $realdomain = tr_strtoupper($domain_array[0] . '.' . $domain_array[1]);
        $error_status = standartcontrol($domain_array[0]);
    } else {
        $error_status = 8;
        $error_message = "version " . $script_version . " only com and net extension <br> (example : domainhunter.com)";
    }
    if ($error_status == 0) {
        $var = mysql_result(mysql_query("SELECT count( id ) FROM `monitors` WHERE `domain` = '{$realdomain}'  "), 0, 0);
        if ($var == 0) {
            $sql = "INSERT INTO monitors (domain) VALUES ('{$realdomain}')";
            $results = mysql_query($sql);
            echo '
		<tr>
		      <td colspan="3" class="standout">Adding table domain!<br />(';
            $z = hunter_islemci(tr_strtolower($realdomain));
            echo ')</br></td>
   		</tr>
		';
        } else {
            $error_status = 9;
            $error_message = "Existing domain in table";
        }
    } else {
        if ($error_status == 4) {
            $error_message = "Does not IDN support";
        }
    }
    if ($error_status != 0) {
        echo '
		<tr>