03-28-2008
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
My WS boot disk has failed so when i want to boot system (by OK boot -s or Ok boot disk0 ) i get these mesgs:
disk read error
boot :can not find misc/sparc9v/krtld
boot:error loading interperetor (misc/sparc9v/krtld)
Elf64 read error.
boot failed.
although it's probed ,finally i try... (1 Reply)
Discussion started by: nikk
1 Replies
2. UNIX for Dummies Questions & Answers
thank u very much, (1 Reply)
Discussion started by: coralsea
1 Replies
3. Filesystems, Disks and Memory
I was using an external SCSI disk on a Sun Ultra60 (Solaris 7) as the boot device. It was labelled c1t0d0. I then moved it into the internal removable mounts and it should become c0t0d0, but it apparently didn't change properly. When the machine boots, it gets host information from the disk... (2 Replies)
Discussion started by: Solaris
2 Replies
4. UNIX for Dummies Questions & Answers
I have installed perc 2 raid card .in installiation , one is install whole for unix file system,and other select "do not modify"
after installiation ,how to use another ? add filesystem ?how to? (2 Replies)
Discussion started by: luckylwf
2 Replies
5. Filesystems, Disks and Memory
Is there a way to determine the number of available spare sectors on a disk ? as it may be useful for notifying a user to take a backup of the disk before it runs into a medium error. (6 Replies)
Discussion started by: rednex
6 Replies
6. AIX
hi, i removed a FC disk (it has a single VG on it) from a AIX 6.1 server and exported it to another AIX server. after doing cfgmgr -v .. the disk showed up in the second AIX 6.1 server. Now how can i see the data which is on the disk from the second AIX server. (5 Replies)
Discussion started by: navadeep
5 Replies
7. UNIX for Advanced & Expert Users
I was wondering if anyone knew of any tools that would identify generic scsi disks on servers running AIX 5.3? Going through diag into the hot plugs does not work. I know it used to for 4.3 on some servers I managed with generic scsi but for some reason I either dont the option to choose a disk... (2 Replies)
Discussion started by: plcj58
2 Replies
8. Solaris
Hi Gurus,
I need help. Mine is an Ultra 10 machine running on solaris 7. Problem with solaris 7 is, it can no longer recognize IDE disks greater that 10GB. My workaround is ro use an external SCSI disk since it is recognizable with solaris 7. I backup my filesystems (residing on the IDE... (2 Replies)
Discussion started by: domesat
2 Replies
9. SCO
i was installing i my computer windows xp and sco
when i use knoppix5.0 live to read scsi partition wish sco was installing
show me message that i have not permission to acces in scsi hard drive
help me please (1 Reply)
Discussion started by: walidfinder
1 Replies
LEARN ABOUT PHP
geoip_region_name_by_code
GEOIP_REGION_NAME_BY_CODE(3) 1 GEOIP_REGION_NAME_BY_CODE(3)
geoip_region_name_by_code - Returns the region name for some country and region code combo
SYNOPSIS
string geoip_region_name_by_code (string $country_code, string $region_code)
DESCRIPTION
The geoip_region_name_by_code(3) function will return the region name corresponding to a country and region code combo.
In the United States, the region code corresponds to the two-letter abbreviation of each state. In Canada, the region code corresponds to
the two-letter province or territory code as attributed by Canada Post.
For the rest of the world, GeoIP uses FIPS 10-4 codes to represent regions. You can check http://www.maxmind.com/app/fips10_4 for a
detailed list of FIPS 10-4 codes.
This function is always available if using GeoIP Library version 1.4.1 or newer. The data is taken directly from the GeoIP Library and not
from any database.
PARAMETERS
o $country_code
- The two-letter country code (see geoip_country_code_by_name(3))
o $region_code
- The two-letter (or digit) region code (see geoip_region_by_name(3))
RETURN VALUES
Returns the region name on success, or FALSE if the country and region code combo cannot be found.
EXAMPLES
Example #1
A geoip_region_name_by_code(3) example using region code for US/Canada
This will print the region name for country CA (Canada), region QC (Quebec).
<?php
$region = geoip_region_name_by_code('CA', 'QC');
if ($region) {
echo 'Region name for CA/QC is: ' . $region;
}
?>
The above example will output:
Region name for CA/QC is: Quebec
Example #2
A geoip_region_name_by_code(3) example using FIPS codes
This will print the region name for country JP (Japan), region 01.
<?php
$region = geoip_region_name_by_code('JP', '01');
if ($region) {
echo 'Region name for JP/01 is: ' . $region;
}
?>
The above example will output:
Region name for JP/01 is: Aichi
PHP Documentation Group GEOIP_REGION_NAME_BY_CODE(3)