Subversion Repositories vgwhois

Rev

Rev 5 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5 Rev 11
Line 1... Line 1...
1
#!/usr/bin/php
1
#!/usr/bin/php
2
<?php
2
<?php
3
 
3
 
4
#
4
#
5
#  VWhois (ViaThinkSoft WHOIS, a fork of generic Whois / gwhois)
5
#  VGWhoIs (ViaThinkSoft Global WhoIs, a fork of generic Whois / gwhois)
6
#  Maintenance / Developer utilities
6
#  Maintenance / Developer utilities
7
#
7
#
8
#  (c) 2012-2019 by Daniel Marschall, ViaThinkSoft <info@daniel-marschall.de>
8
#  (c) 2012-2019 by Daniel Marschall, ViaThinkSoft <info@daniel-marschall.de>
9
#
9
#
10
#  License: https://www.gnu.org/licenses/gpl-2.0.html (GPL version 2)
10
#  License: https://www.gnu.org/licenses/gpl-2.0.html (GPL version 2)
Line 16... Line 16...
16
require_once __DIR__ . '/../../shared/php_includes/common_functions.inc.php';
16
require_once __DIR__ . '/../../shared/php_includes/common_functions.inc.php';
17
require_once __DIR__ . '/rirs.inc.php';
17
require_once __DIR__ . '/rirs.inc.php';
18
 
18
 
19
$out = '';
19
$out = '';
20
$out .= "# TLDs\n";
20
$out .= "# TLDs\n";
21
$out .= "# Automatically generated by ".__DIR__."/gwhois-pattern-update\n";
21
$out .= "# Automatically generated by ".__DIR__."/vgwhois-pattern-update\n";
22
$out .= "# Generation timestamp: ".date('Y-m-d H:i:s \G\M\TO')."\n";
22
$out .= "# Generation timestamp: ".date('Y-m-d H:i:s \G\M\TO')."\n";
23
$out .= "\n";
23
$out .= "\n";
24
 
24
 
25
$max_version = 0;
25
$max_version = 0;
26
 
26