<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Kevin Bradwick &#187; PHP</title>
	<atom:link href="http://www.kevinbradwick.co.uk/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kevinbradwick.co.uk</link>
	<description>Web development and design blog</description>
	<lastBuildDate>Fri, 09 Jul 2010 08:11:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Using multiple database connections with Yii framework</title>
		<link>http://www.kevinbradwick.co.uk/2010/05/using-multiple-database-connections-with-yii-framework/</link>
		<comments>http://www.kevinbradwick.co.uk/2010/05/using-multiple-database-connections-with-yii-framework/#comments</comments>
		<pubDate>Mon, 17 May 2010 18:54:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Frameworks]]></category>

		<guid isPermaLink="false">http://www.kevinbradwick.co.uk/?p=158</guid>
		<description><![CDATA[There may be occasions where you will need to set up database connections to more than one database. This guide will show you the easy way to set up these resources. In your main.php config file, you may already have a db component set up by default. //.. main.php 'db'=>array( 'connectionString' => 'mysql:host=localhost;dbname=testdrive', 'emulatePrepare' => [...]]]></description>
			<content:encoded><![CDATA[<p>There may be occasions where you will need to set up database connections to more than one database. This guide will show you the easy way to set up these resources.</p>
<p>In your main.php config file, you may already have a db component set up by default.</p>
<pre name="code" class="php">
//.. main.php
'db'=>array(
	'connectionString' => 'mysql:host=localhost;dbname=testdrive',
	'emulatePrepare' => true,
	'username' => 'root',
	'password' => 'password',
	'charset' => 'utf8',
),
</pre>
<p>This will be enabled by default. Now, if you want to enable another connection component, simply add another CDbConnection component and give it a different name.</p>
<pre name="code" class="php">
//.. main.php
'db'=>array(
	'connectionString' => 'mysql:host=localhost;dbname=testdrive',
	'emulatePrepare' => true,
	'username' => 'root',
	'password' => 'password',
	'charset' => 'utf8',
),
'db2'=>array(
        'class'  => 'CDbConnection',
	'connectionString' => 'mysql:host=localhost;dbname=database2',
	'emulatePrepare' => true,
	'username' => 'root',
	'password' => 'password',
	'charset' => 'utf8',
),
</pre>
<p>Now, in your models you can pass the connection instance using getDbConnection()</p>
<pre name="code" class="php">
class DbTable extends CActiveRecord
{
     public static function model($className=__CLASS__)
    {
        return parent::model($className);
    }

    public function getDbConnection()
    {
        return Yii::app()->db2; // select the connection you want
    }
//.. etc
</pre>
<p>Using this technique you can have your model classes connect to numerous databases.</p>
<p>Enjoy <img src='http://www.kevinbradwick.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevinbradwick.co.uk/2010/05/using-multiple-database-connections-with-yii-framework/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Calculating the radius of a coordinate using PHP</title>
		<link>http://www.kevinbradwick.co.uk/2010/01/calculating-the-radius-of-a-coordinate-using-php/</link>
		<comments>http://www.kevinbradwick.co.uk/2010/01/calculating-the-radius-of-a-coordinate-using-php/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 18:23:11 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[radius]]></category>

		<guid isPermaLink="false">http://www.kevinbradwick.co.uk/?p=59</guid>
		<description><![CDATA[Sometimes you&#8217;ll want to get the radius of a location. For this I have written a function that I&#8217;ll share with you. /* Copyright 2009 Kevin Bradwick (http://www.kevinbradwick.co.uk) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes you&#8217;ll want to get the radius of a location. For this I have written a function that I&#8217;ll share with you.</p>
<pre name="code" class="php">/*

Copyright 2009  Kevin Bradwick (http://www.kevinbradwick.co.uk) 

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version. 

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
*/

function geoRadius($lat, $lng, $rad, $kilometeres = FALSE, $out = 'OBJ')
	{
		$radius = ($kilometers) ? ($rad * 0.621371192) : $rad;

		(float)$dpmLAT = 1 / 69.1703234283616; 

		// Latitude calculation
		(float)$usrRLAT = $dpmLAT * $radius;
		(float)$latMIN = $lat - $usrRLAT;
		(float)$latMAX = $lat + $usrRLAT;

		// Longitude calculation
		(float)$mpdLON = 69.1703234283616 * cos($lat * (pi/180));
		(float)$dpmLON = 1 / $mpdLON; // degrees per mile longintude
		$usrRLON = $dpmLON * $radius;
		$lonMIN = $lng - $usrRLON;
		$lonMAX = $lng + $usrRLON;

		$output = array("lonMIN" =&gt; $lonMIN, "lonMAX" =&gt; $lonMAX, "latMIN" =&gt; $latMIN, "latMAX" =&gt; $latMAX);
		return ($out == 'OBJ') ? (object)$output : $output;
	}
</pre>
<p>Okay, so how do you use it? Well, the first two paramaters are the Latitude and Longitude of your origin. The third is the radius ammount. If you want to calculate it based on kilometers (default is in miles), enter a boolean value of TRUE for the fourth parameter. The last paramter specifices the output method, by default it will return an object, enter anything other that OBJ here will return an associative array.</p>
<p>So, once we&#8217;ve done that what do we have? You will then have 4 variables to use, each of them minimum and maximum values of Latitude and Longitude. This is how you could use the output of this function to query a database that contains geo data.</p>
<pre name="code" class="php">$radius = geoRadius(53.741690, -2.397750, 48.28032);
$sql = "SELECT * FROM `mytable` WHERE `latitude` BETWEEN {$radius-&gt;latMIN} AND {$radius-&gt;latMAX} AND `longitude` BETWEEN {$radius-&gt;lonMIN} AND {$radius-&gt;lonMAX}";
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.kevinbradwick.co.uk/2010/01/calculating-the-radius-of-a-coordinate-using-php/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>How to install LibSSH2 on a CentOS 5 system</title>
		<link>http://www.kevinbradwick.co.uk/2010/01/how-to-install-libssh2-on-a-centos-5-system/</link>
		<comments>http://www.kevinbradwick.co.uk/2010/01/how-to-install-libssh2-on-a-centos-5-system/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 18:02:54 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[libssh2]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.kevinbradwick.co.uk/?p=42</guid>
		<description><![CDATA[Libssh2 is a C library implementing the SSH2 protocol for PHP. Here&#8217;s how to get it installed on a CentOS system running PHP 5.1.6. First step is to install some dependencies. yum install automake php-devel libtool openssl-devel gcc++ gcc Next, let&#8217;s download the latest release of libssh2 (1.2.2 at time of writing), unpack and install [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.libssh2.org/">Libssh2</a> is a C library implementing the SSH2 protocol for PHP. Here&#8217;s how to get it installed on a CentOS system running PHP 5.1.6.</p>
<p>First step is to install some dependencies.</p>
<pre name="code" class="php">
yum install automake php-devel libtool openssl-devel gcc++ gcc
</pre>
<p>Next, let&#8217;s download the latest release of libssh2 (1.2.2 at time of writing), unpack and install</p>
<pre name="code" class="php">
# cd /tmp
# wget http://www.libssh2.org/download/libssh2-1.2.2.tar.gz
# tar -zxf libssh2-1.2.2.tar.gz
# cd libssh2-1.2.2
# ./configure
# make all install
# cd ..
# rm -rf libssh2-1.2.2
</pre>
<p>Now we need to install the PHP bindings.</p>
<pre name="code" class="php">
# cd /usr/lib/php (for x64 systems use /usr/lib64/php)
# wget http://pecl.php.net/get/ssh2-0.11.0.tgz
# tar -zxf ssh2-0.11.0.tgz
# cd ssh2-0.11.0
# phpize &amp;&amp; ./configure –with-ssh2 &amp;&amp; make
# cd modules
# mv ssh2.so /usr/lib/php/modules/ssh2.so
# cd /usr/lib/php
# rm -rf ssh2-0.11.0
# rm -f ssh2-0.11.0.tgz
</pre>
<p>Update the PHP ini file and add the ssh2.so extension like this.</p>
<pre name="code" class="php">
# vi /etc/php.ini
extension_dir = “/usr/lib/php/modules”
extension = ssh2.so
</pre>
<p>Now restart apache and everything should be installed. You can test it my looking at the out put of <strong># php -m</strong> that will list all of the installed modules.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevinbradwick.co.uk/2010/01/how-to-install-libssh2-on-a-centos-5-system/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Accessing a timezone list in PHP</title>
		<link>http://www.kevinbradwick.co.uk/2010/01/accessing-a-timezone-list-in-php/</link>
		<comments>http://www.kevinbradwick.co.uk/2010/01/accessing-a-timezone-list-in-php/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 17:40:33 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[timezone]]></category>

		<guid isPermaLink="false">http://www.kevinbradwick.co.uk/?p=37</guid>
		<description><![CDATA[The php function timezone_identifiers_list is only available in newer versions of PHP (typically 5.2+), although the php site suggests it is available in versions 5.1.0+. If you have CentOS (current version 5.4) or another linux distro that has 5.1.6 or similar, you may find the function does not exist. For these situations, I have compiled [...]]]></description>
			<content:encoded><![CDATA[<p>The php function <a href="http://php.net/manual/en/function.timezone-identifiers-list.php">timezone_identifiers_list</a> is only available in newer versions of PHP (typically 5.2+), although the php site suggests it is available in versions 5.1.0+. If you have CentOS (current version 5.4) or another linux distro that has 5.1.6 or similar, you may find the function does not exist.</p>
<p>For these situations, I have compiled a list of timezones as an array that you can use in you projects. Either cut and paste the code below or <a href="http://www.kevinbradwick.co.uk/getfile/2" title="PHP Timezone List">download</a> the file.</p>
<pre name="code" class="php">
/**
 * Timezone List
 * Array compiled from timezone_identifiers_list() that can be used on
 * systems that do not support the function but a list of timezones is
 * needed anyway
 **/

$timezone = array(
		'Africa/Abidjan',
		'Africa/Accra',
		'Africa/Addis_Ababa',
		'Africa/Algiers',
		'Africa/Asmara',
		'Africa/Bamako',
		'Africa/Bangui',
		'Africa/Banjul',
		'Africa/Bissau',
		'Africa/Blantyre',
		'Africa/Brazzaville',
		'Africa/Bujumbura',
		'Africa/Cairo',
		'Africa/Casablanca',
		'Africa/Ceuta',
		'Africa/Conakry',
		'Africa/Dakar',
		'Africa/Dar_es_Salaam',
		'Africa/Djibouti',
		'Africa/Douala',
		'Africa/El_Aaiun',
		'Africa/Freetown',
		'Africa/Gaborone',
		'Africa/Harare',
		'Africa/Johannesburg',
		'Africa/Kampala',
		'Africa/Khartoum',
		'Africa/Kigali',
		'Africa/Kinshasa',
		'Africa/Lagos',
		'Africa/Libreville',
		'Africa/Lome',
		'Africa/Luanda',
		'Africa/Lubumbashi',
		'Africa/Lusaka',
		'Africa/Malabo',
		'Africa/Maputo',
		'Africa/Maseru',
		'Africa/Mbabane',
		'Africa/Mogadishu',
		'Africa/Monrovia',
		'Africa/Nairobi',
		'Africa/Ndjamena',
		'Africa/Niamey',
		'Africa/Nouakchott',
		'Africa/Ouagadougou',
		'Africa/Porto-Novo',
		'Africa/Sao_Tome',
		'Africa/Tripoli',
		'Africa/Tunis',
		'Africa/Windhoek',
		'America/Adak',
		'America/Anchorage',
		'America/Anguilla',
		'America/Antigua',
		'America/Araguaina',
		'America/Argentina/Buenos_Aires',
		'America/Argentina/Catamarca',
		'America/Argentina/Cordoba',
		'America/Argentina/Jujuy',
		'America/Argentina/La_Rioja',
		'America/Argentina/Mendoza',
		'America/Argentina/Rio_Gallegos',
		'America/Argentina/Salta',
		'America/Argentina/San_Juan',
		'America/Argentina/San_Luis',
		'America/Argentina/Tucuman',
		'America/Argentina/Ushuaia',
		'America/Aruba',
		'America/Asuncion',
		'America/Atikokan',
		'America/Bahia',
		'America/Barbados',
		'America/Belem',
		'America/Belize',
		'America/Blanc-Sablon',
		'America/Boa_Vista',
		'America/Bogota',
		'America/Boise',
		'America/Cambridge_Bay',
		'America/Campo_Grande',
		'America/Cancun',
		'America/Caracas',
		'America/Cayenne',
		'America/Cayman',
		'America/Chicago',
		'America/Chihuahua',
		'America/Costa_Rica',
		'America/Cuiaba',
		'America/Curacao',
		'America/Danmarkshavn',
		'America/Dawson',
		'America/Dawson_Creek',
		'America/Denver',
		'America/Detroit',
		'America/Dominica',
		'America/Edmonton',
		'America/Eirunepe',
		'America/El_Salvador',
		'America/Fortaleza',
		'America/Glace_Bay',
		'America/Godthab',
		'America/Goose_Bay',
		'America/Grand_Turk',
		'America/Grenada',
		'America/Guadeloupe',
		'America/Guatemala',
		'America/Guayaquil',
		'America/Guyana',
		'America/Halifax',
		'America/Havana',
		'America/Hermosillo',
		'America/Indiana/Indianapolis',
		'America/Indiana/Knox',
		'America/Indiana/Marengo',
		'America/Indiana/Petersburg',
		'America/Indiana/Tell_City',
		'America/Indiana/Vevay',
		'America/Indiana/Vincennes',
		'America/Indiana/Winamac',
		'America/Inuvik',
		'America/Iqaluit',
		'America/Jamaica',
		'America/Juneau',
		'America/Kentucky/Louisville',
		'America/Kentucky/Monticello',
		'America/La_Paz',
		'America/Lima',
		'America/Los_Angeles',
		'America/Maceio',
		'America/Managua',
		'America/Manaus',
		'America/Marigot',
		'America/Martinique',
		'America/Mazatlan',
		'America/Menominee',
		'America/Merida',
		'America/Mexico_City',
		'America/Miquelon',
		'America/Moncton',
		'America/Monterrey',
		'America/Montevideo',
		'America/Montreal',
		'America/Montserrat',
		'America/Nassau',
		'America/New_York',
		'America/Nipigon',
		'America/Nome',
		'America/Noronha',
		'America/North_Dakota/Center',
		'America/North_Dakota/New_Salem',
		'America/Panama',
		'America/Pangnirtung',
		'America/Paramaribo',
		'America/Phoenix',
		'America/Port-au-Prince',
		'America/Port_of_Spain',
		'America/Porto_Velho',
		'America/Puerto_Rico',
		'America/Rainy_River',
		'America/Rankin_Inlet',
		'America/Recife',
		'America/Regina',
		'America/Resolute',
		'America/Rio_Branco',
		'America/Santarem',
		'America/Santiago',
		'America/Santo_Domingo',
		'America/Sao_Paulo',
		'America/Scoresbysund',
		'America/Shiprock',
		'America/St_Barthelemy',
		'America/St_Johns',
		'America/St_Kitts',
		'America/St_Lucia',
		'America/St_Thomas',
		'America/St_Vincent',
		'America/Swift_Current',
		'America/Tegucigalpa',
		'America/Thule',
		'America/Thunder_Bay',
		'America/Tijuana',
		'America/Toronto',
		'America/Tortola',
		'America/Vancouver',
		'America/Whitehorse',
		'America/Winnipeg',
		'America/Yakutat',
		'America/Yellowknife',
		'Antarctica/Casey',
		'Antarctica/Davis',
		'Antarctica/DumontDUrville',
		'Antarctica/Mawson',
		'Antarctica/McMurdo',
		'Antarctica/Palmer',
		'Antarctica/Rothera',
		'Antarctica/South_Pole',
		'Antarctica/Syowa',
		'Antarctica/Vostok',
		'Arctic/Longyearbyen',
		'Asia/Aden',
		'Asia/Almaty',
		'Asia/Amman',
		'Asia/Anadyr',
		'Asia/Aqtau',
		'Asia/Aqtobe',
		'Asia/Ashgabat',
		'Asia/Baghdad',
		'Asia/Bahrain',
		'Asia/Baku',
		'Asia/Bangkok',
		'Asia/Beirut',
		'Asia/Bishkek',
		'Asia/Brunei',
		'Asia/Choibalsan',
		'Asia/Chongqing',
		'Asia/Colombo',
		'Asia/Damascus',
		'Asia/Dhaka',
		'Asia/Dili',
		'Asia/Dubai',
		'Asia/Dushanbe',
		'Asia/Gaza',
		'Asia/Harbin',
		'Asia/Ho_Chi_Minh',
		'Asia/Hong_Kong',
		'Asia/Hovd',
		'Asia/Irkutsk',
		'Asia/Jakarta',
		'Asia/Jayapura',
		'Asia/Jerusalem',
		'Asia/Kabul',
		'Asia/Kamchatka',
		'Asia/Karachi',
		'Asia/Kashgar',
		'Asia/Kathmandu',
		'Asia/Kolkata',
		'Asia/Krasnoyarsk',
		'Asia/Kuala_Lumpur',
		'Asia/Kuching',
		'Asia/Kuwait',
		'Asia/Macau',
		'Asia/Magadan',
		'Asia/Makassar',
		'Asia/Manila',
		'Asia/Muscat',
		'Asia/Nicosia',
		'Asia/Novosibirsk',
		'Asia/Omsk',
		'Asia/Oral',
		'Asia/Phnom_Penh',
		'Asia/Pontianak',
		'Asia/Pyongyang',
		'Asia/Qatar',
		'Asia/Qyzylorda',
		'Asia/Rangoon',
		'Asia/Riyadh',
		'Asia/Sakhalin',
		'Asia/Samarkand',
		'Asia/Seoul',
		'Asia/Shanghai',
		'Asia/Singapore',
		'Asia/Taipei',
		'Asia/Tashkent',
		'Asia/Tbilisi',
		'Asia/Tehran',
		'Asia/Thimphu',
		'Asia/Tokyo',
		'Asia/Ulaanbaatar',
		'Asia/Urumqi',
		'Asia/Vientiane',
		'Asia/Vladivostok',
		'Asia/Yakutsk',
		'Asia/Yekaterinburg',
		'Asia/Yerevan',
		'Atlantic/Azores',
		'Atlantic/Bermuda',
		'Atlantic/Canary',
		'Atlantic/Cape_Verde',
		'Atlantic/Faroe',
		'Atlantic/Madeira',
		'Atlantic/Reykjavik',
		'Atlantic/South_Georgia',
		'Atlantic/St_Helena',
		'Atlantic/Stanley',
		'Australia/Adelaide',
		'Australia/Brisbane',
		'Australia/Broken_Hill',
		'Australia/Currie',
		'Australia/Darwin',
		'Australia/Eucla',
		'Australia/Hobart',
		'Australia/Lindeman',
		'Australia/Lord_Howe',
		'Australia/Melbourne',
		'Australia/Perth',
		'Australia/Sydney',
		'Europe/Amsterdam',
		'Europe/Andorra',
		'Europe/Athens',
		'Europe/Belgrade',
		'Europe/Berlin',
		'Europe/Bratislava',
		'Europe/Brussels',
		'Europe/Bucharest',
		'Europe/Budapest',
		'Europe/Chisinau',
		'Europe/Copenhagen',
		'Europe/Dublin',
		'Europe/Gibraltar',
		'Europe/Guernsey',
		'Europe/Helsinki',
		'Europe/Isle_of_Man',
		'Europe/Istanbul',
		'Europe/Jersey',
		'Europe/Kaliningrad',
		'Europe/Kiev',
		'Europe/Lisbon',
		'Europe/Ljubljana',
		'Europe/London',
		'Europe/Luxembourg',
		'Europe/Madrid',
		'Europe/Malta',
		'Europe/Mariehamn',
		'Europe/Minsk',
		'Europe/Monaco',
		'Europe/Moscow',
		'Europe/Oslo',
		'Europe/Paris',
		'Europe/Podgorica',
		'Europe/Prague',
		'Europe/Riga',
		'Europe/Rome',
		'Europe/Samara',
		'Europe/San_Marino',
		'Europe/Sarajevo',
		'Europe/Simferopol',
		'Europe/Skopje',
		'Europe/Sofia',
		'Europe/Stockholm',
		'Europe/Tallinn',
		'Europe/Tirane',
		'Europe/Uzhgorod',
		'Europe/Vaduz',
		'Europe/Vatican',
		'Europe/Vienna',
		'Europe/Vilnius',
		'Europe/Volgograd',
		'Europe/Warsaw',
		'Europe/Zagreb',
		'Europe/Zaporozhye',
		'Europe/Zurich',
		'Indian/Antananarivo',
		'Indian/Chagos',
		'Indian/Christmas',
		'Indian/Cocos',
		'Indian/Comoro',
		'Indian/Kerguelen',
		'Indian/Mahe',
		'Indian/Maldives',
		'Indian/Mauritius',
		'Indian/Mayotte',
		'Indian/Reunion',
		'Pacific/Apia',
		'Pacific/Auckland',
		'Pacific/Chatham',
		'Pacific/Easter',
		'Pacific/Efate',
		'Pacific/Enderbury',
		'Pacific/Fakaofo',
		'Pacific/Fiji',
		'Pacific/Funafuti',
		'Pacific/Galapagos',
		'Pacific/Gambier',
		'Pacific/Guadalcanal',
		'Pacific/Guam',
		'Pacific/Honolulu',
		'Pacific/Johnston',
		'Pacific/Kiritimati',
		'Pacific/Kosrae',
		'Pacific/Kwajalein',
		'Pacific/Majuro',
		'Pacific/Marquesas',
		'Pacific/Midway',
		'Pacific/Nauru',
		'Pacific/Niue',
		'Pacific/Norfolk',
		'Pacific/Noumea',
		'Pacific/Pago_Pago',
		'Pacific/Palau',
		'Pacific/Pitcairn',
		'Pacific/Ponape',
		'Pacific/Port_Moresby',
		'Pacific/Rarotonga',
		'Pacific/Saipan',
		'Pacific/Tahiti',
		'Pacific/Tarawa',
		'Pacific/Tongatapu',
		'Pacific/Truk',
		'Pacific/Wake',
		'Pacific/Wallis',
		'UTC');
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.kevinbradwick.co.uk/2010/01/accessing-a-timezone-list-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
