Subversion Repositories vgwhois

Rev

Rev 5 | Rev 77 | 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 66... Line 66...
66
}
66
}
67
 
67
 
68
$out .= "#: version $version\n\n";
68
$out .= "#: version $version\n\n";
69
 
69
 
70
$out .= "# Autonomous System Numbers (ASN)\n";
70
$out .= "# Autonomous System Numbers (ASN)\n";
71
$out .= "# Automatically generated by ".__DIR__."/gwhois-pattern-update\n";
71
$out .= "# Automatically generated by ".__DIR__."/vgwhois-pattern-update\n";
72
$out .= "# Generation timestamp: ".date('Y-m-d H:i:s \G\M\TO')."\n";
72
$out .= "# Generation timestamp: ".date('Y-m-d H:i:s \G\M\TO')."\n";
73
$out .= "# Source: ($version) ".IANA_AS_NUMBERS."\n";
73
$out .= "# Source: ($version) ".IANA_AS_NUMBERS."\n";
74
$out .= "\n";
74
$out .= "\n";
75
 
75
 
76
foreach ($res as $whois => &$x) {
76
foreach ($res as $whois => &$x) {