<?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>ดูโปร บล๊อก &#187; PHP</title>
	<atom:link href="http://blog.doopro.com/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.doopro.com</link>
	<description>บล๊อกเล็กๆ บันทึกเรื่องราวของคนทำเว็บดูโปร</description>
	<lastBuildDate>Fri, 12 Nov 2010 08:28:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>php error เกี่ยวกับ strtotime</title>
		<link>http://blog.doopro.com/2010/10/php-error-%e0%b9%80%e0%b8%81%e0%b8%b5%e0%b9%88%e0%b8%a2%e0%b8%a7%e0%b8%81%e0%b8%b1%e0%b8%9a-strtotime/</link>
		<comments>http://blog.doopro.com/2010/10/php-error-%e0%b9%80%e0%b8%81%e0%b8%b5%e0%b9%88%e0%b8%a2%e0%b8%a7%e0%b8%81%e0%b8%b1%e0%b8%9a-strtotime/#comments</comments>
		<pubDate>Sun, 17 Oct 2010 13:02:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[date_default_timezone_set]]></category>

		<guid isPermaLink="false">http://blog.doopro.com/?p=113</guid>
		<description><![CDATA[ปัญหาที่เจอ A PHP Error was encountered Severity: Warning Message: strtotime() [function.strtotime]: It is not safe to rely on the system&#8217;s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of &#8230; <a href="http://blog.doopro.com/2010/10/php-error-%e0%b9%80%e0%b8%81%e0%b8%b5%e0%b9%88%e0%b8%a2%e0%b8%a7%e0%b8%81%e0%b8%b1%e0%b8%9a-strtotime/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><span style="text-decoration: underline;">ปัญหาที่เจอ</span></p>
<p style="padding-left: 30px;">
<div id="_mcePaste" style="padding-left: 30px;"><span style="font-style: normal;">A PHP Error was encountered</span></div>
<div id="_mcePaste" style="padding-left: 30px;"><span style="font-style: normal;">Severity: Warning</span></div>
<div id="_mcePaste" style="padding-left: 30px;"><span style="font-style: normal;">Message: strtotime() [function.strtotime]: It is not safe to rely on the system&#8217;s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected &#8216;Asia/Bangkok&#8217; for &#8216;ICT/7.0/no DST&#8217; instead</span></div>
<p style="padding-left: 30px;"><span style="font-style: normal;">A PHP Error was encountered<br />
Severity: Warning<br />
Message: strtotime() [function.strtotime]: It is not safe to rely on the system&#8217;s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected &#8216;Asia/Bangkok&#8217; for &#8216;ICT/7.0/no DST&#8217; instead</span></p>
<p><span style="text-decoration: underline;">วิธีแก้</span></p>
<p style="padding-left: 30px;">if( ! ini_get(&#8216;date.timezone&#8217;) )</p>
<p style="padding-left: 30px;">{</p>
<p style="padding-left: 30px;">date_default_timezone_set(&#8216;Asia/Bangkok&#8217;);</p>
<p style="padding-left: 30px;">}</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
]]></content:encoded>
			<wfw:commentRss>http://blog.doopro.com/2010/10/php-error-%e0%b9%80%e0%b8%81%e0%b8%b5%e0%b9%88%e0%b8%a2%e0%b8%a7%e0%b8%81%e0%b8%b1%e0%b8%9a-strtotime/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

