<?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>Priceless Tips &#187; PHP5</title>
	<atom:link href="http://zetrys.info/tag/php5/feed" rel="self" type="application/rss+xml" />
	<link>http://zetrys.info</link>
	<description>Business and Trends</description>
	<lastBuildDate>Mon, 29 Mar 2010 04:06:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Fixing the Error on gmmktime() expects parameter</title>
		<link>http://zetrys.info/fixing-the-error-on-gmmktime-expects-parameter-72.html</link>
		<comments>http://zetrys.info/fixing-the-error-on-gmmktime-expects-parameter-72.html#comments</comments>
		<pubDate>Thu, 03 Apr 2008 15:55:14 +0000</pubDate>
		<dc:creator>Sam Ilan</dc:creator>
				<category><![CDATA[Tip and Guides]]></category>
		<category><![CDATA[gmmktime error]]></category>
		<category><![CDATA[magpie RSS]]></category>
		<category><![CDATA[PHP5]]></category>

		<guid isPermaLink="false">http://zetrys.info/fixing-the-error-on-gmmktime-expects-parameter-72.html</guid>
		<description><![CDATA[Recently when I installed Magpie RSS on PHP 5.1 it keep showing Error warning: Warning: gmmktime() expects parameter 3 to be long. When I tried finding the answer from Google, it seems many sites suffering this same kind of error. The error looks only occur on sites running on PHP 5.

To fix this &#8221; gmmktime() [...]]]></description>
			<content:encoded><![CDATA[<p>Recently when I installed Magpie RSS on PHP 5.1 it keep showing Error warning: Warning: gmmktime() expects parameter 3 to be long. When I tried finding the answer from Google, it seems many sites suffering this same kind of error. The error looks only occur on sites running on PHP 5.<br />
<span id="more-72"></span><br />
To fix this &#8221; gmmktime() expects parameter 3 to be long &#8221; error you only need to slightly modify the magpie RSS code.</p>
<p>Edit the rss_utils.inc in MagpieRSS and find out the line 35</p>
<p>$epoch = gmmktime( $hours, $minutes, $seconds, $month, $day, $year);</p>
<p>to the following line by adding +0 after the third variables ($seconds):</p>
<p>$epoch = gmmktime( $hours, $minutes, $seconds+0, $month, $day, $year);</p>
<p>That&#8217;s all and you won&#8217;t receive the error warning again.</p>
]]></content:encoded>
			<wfw:commentRss>http://zetrys.info/fixing-the-error-on-gmmktime-expects-parameter-72.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
