Sponsored Content
Top Forums Web Development Helpful Tip: Forcing Google to www.google.com Post 302271625 by reborg on Friday 26th of December 2008 05:47:05 PM
Old 12-26-2008
Code:
www.google.com/ncr

Will also take you to the US site and set the cookie to prevent local country selection on future visits.
This User Gave Thanks to reborg For This Post:
 

4 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

note to google!!!

dear google, i knew somewhat about the remote part on the telnet issue but refrained from using the term incase i confused epic.admin even more than I was worried about.. i would like to know if this was a seious issue with you since a couple of people have been sited for wrong information... in... (2 Replies)
Discussion started by: moxxx68
2 Replies

2. News, Links, Events and Announcements

Personalized Google

FYI: If you use the new Personalized Google search page, you can add UNIX.COM to the page by adding one or more UNIX.COM RSS link: https://www.unix.com/external.php?forumids= (and forumid for a specific forum if you want). See: https://www.google.com/accounts/ManageAccount (0 Replies)
Discussion started by: Neo
0 Replies

3. UNIX for Dummies Questions & Answers

GooOS by google

I hear that google is making a linux based OS called GooOS is this true? (4 Replies)
Discussion started by: thunderfastfox
4 Replies

4. What is on Your Mind?

Google Plus (+)

As we all know, Google has finally launched its next Apps in social networking. What you people think about its competition with other Social networking Apps (specially facebook)? A poll is also added. (23 Replies)
Discussion started by: clx
23 Replies
GEOIP_TIME_ZONE_BY_COUNTRY_AND_REGION(3)				 1				  GEOIP_TIME_ZONE_BY_COUNTRY_AND_REGION(3)

geoip_time_zone_by_country_and_region - Returns the time zone for some country and region code combo

SYNOPSIS
string geoip_time_zone_by_country_and_region (string $country_code, [string $region_code]) DESCRIPTION
The geoip_time_zone_by_country_and_region(3) function will return the time zone 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 time zone on success, or FALSE if the country and region code combo cannot be found. EXAMPLES
Example #1 A geoip_time_zone_by_country_and_region(3) example using region code for US/Canada This will print the time zone for country CA (Canada), region QC (Quebec). <?php $timezone = geoip_time_zone_by_country_and_region('CA', 'QC'); if ($timezone) { echo 'Time zone for CA/QC is: ' . $timezone; } ?> The above example will output: Time zone for CA/QC is: America/Montreal Example #2 A geoip_time_zone_by_country_and_region(3) example using FIPS codes This will print the time zone for country JP (Japan), region 01 (Aichi). <?php $timezone = geoip_time_zone_by_country_and_region('JP', '01'); if ($timezone) { echo 'Time zone for JP/01 is: ' . $timezone; } ?> The above example will output: Time zone for JP/01 is: Asia/Tokyo PHP Documentation Group GEOIP_TIME_ZONE_BY_COUNTRY_AND_REGION(3)
All times are GMT -4. The time now is 09:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy