Subversion Repositories vgwhois

Rev

Rev 5 | Rev 22 | Go to most recent revision | Show entire file | Ignore 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
#  Subprogram: pa TLD whois
6
#  Subprogram: pa TLD whois
7
#
7
#
8
#  (c) 2011-2012 by Daniel Marschall, ViaThinkSoft <info@daniel-marschall.de>
8
#  (c) 2011-2012 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 36... Line 36...
36
// é -> É @ strtoupper()
36
// é -> É @ strtoupper()
37
/*
37
/*
38
$locals = array('es_ES@euro', 'es_ES', 'es');
38
$locals = array('es_ES@euro', 'es_ES', 'es');
39
reset($locals);
39
reset($locals);
40
while (list(, $locale) = each ($locals)) {
40
while (list(, $locale) = each ($locals)) {
41
	if ( setlocale(LC_CTYPE, $locale) == $locale ) {                
41
	if ( setlocale(LC_CTYPE, $locale) == $locale ) {
42
		break; // Exit when we were successfull
42
		break; // Exit when we were successfull
43
	}
43
	}
44
}
44
}
45
*/
45
*/
46
 
46