<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for Wowebmaster.com</title>
	<atom:link href="http://www.wowebmaster.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wowebmaster.com</link>
	<description>World of Webmaster: Sharing Experiences</description>
	<lastBuildDate>Wed, 23 Mar 2011 14:07:20 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Simple Php Cache System by Kemal</title>
		<link>http://www.wowebmaster.com/php/simple-php-cache-system-to-overcome-server-overloads/comment-page-1/#comment-4424</link>
		<dc:creator>Kemal</dc:creator>
		<pubDate>Wed, 23 Mar 2011 14:07:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.wowebmaster.com/?p=10#comment-4424</guid>
		<description>Oh sorry, my previous try was totally wrong. I am still working on another way than exploding content but sorry for disturbance. :(</description>
		<content:encoded><![CDATA[<p>Oh sorry, my previous try was totally wrong. I am still working on another way than exploding content but sorry for disturbance. :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple Php Cache System by Kemal</title>
		<link>http://www.wowebmaster.com/php/simple-php-cache-system-to-overcome-server-overloads/comment-page-1/#comment-4422</link>
		<dc:creator>Kemal</dc:creator>
		<pubDate>Wed, 23 Mar 2011 13:17:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.wowebmaster.com/?p=10#comment-4422</guid>
		<description>Hi,

This is really simple and great solution. I have made a little modification which I believe it is more efficient. It explodes whole content at current script. What I did is writing time to filename and getting from filename. It will be more robust I guess. Here it is:

$cache_dir = &quot;/var/www/vhosts/domain.com/httpdocs/cache/&quot;;
function getUrl () {
    global $cache_dir;
    if (!isset($_SERVER[&#039;REQUEST_URI&#039;])) {
        $url = $_SERVER[&#039;REQUEST_URI&#039;];
    } else {
    $url = $_SERVER[&#039;SCRIPT_NAME&#039;];
    $url .= (!empty($_SERVER[&#039;QUERY_STRING&#039;]))? &#039;?&#039; . $_SERVER[ &#039;QUERY_STRING&#039; ] : &#039;&#039;;
     
    }
        return $url;
}
 
//getUrl gets the queried page with query string
function cache ($buffer) { //page&#039;s content is $buffer
    global $cache_dir;
    $url = getUrl();
    $filename = time().&#039;-&#039;.md5($url) . &#039;.cache&#039;;
    $filew = fopen($cache_dir . $filename, &#039;w&#039;);
    fwrite($filew, $buffer);
    fclose($filew);
    return $buffer;
}
 
function display () {
    global $cache_dir;
    $url = getUrl();
    $filename = md5($url) . &#039;.cache&#039;;
    if (!file_exists($cache_dir . $filename)) {
        return false;
    }
    $filer = fopen($cache_dir . $filename, &#039;r&#039;);
    $data = fread($filer, filesize($cache_dir . $filename));
    fclose($filer);
    $arr = explode(&#039;-&#039;, $filename, 2);
    if (count($arr)!= 2 OR !is_numeric($arr[&#039;0&#039;])) {
        return false;
    }
    if (time()-(100) &gt; $arr[&#039;0&#039;]) { // 100 is the cache time here!!!
        return false;
    }
    echo $data;
    die();
}
 
// Display cache (if any)
display();  // if it is displayed, die function will end the program here.
 
// if no cache, callback cache
ob_start (&#039;cache&#039;);

Where is the send button by the way :)</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>This is really simple and great solution. I have made a little modification which I believe it is more efficient. It explodes whole content at current script. What I did is writing time to filename and getting from filename. It will be more robust I guess. Here it is:</p>
<p>$cache_dir = &#8220;/var/www/vhosts/domain.com/httpdocs/cache/&#8221;;<br />
function getUrl () {<br />
    global $cache_dir;<br />
    if (!isset($_SERVER['REQUEST_URI'])) {<br />
        $url = $_SERVER['REQUEST_URI'];<br />
    } else {<br />
    $url = $_SERVER['SCRIPT_NAME'];<br />
    $url .= (!empty($_SERVER['QUERY_STRING']))? &#8216;?&#8217; . $_SERVER[ 'QUERY_STRING' ] : &#8221;;</p>
<p>    }<br />
        return $url;<br />
}</p>
<p>//getUrl gets the queried page with query string<br />
function cache ($buffer) { //page&#8217;s content is $buffer<br />
    global $cache_dir;<br />
    $url = getUrl();<br />
    $filename = time().&#8217;-&#8217;.md5($url) . &#8216;.cache&#8217;;<br />
    $filew = fopen($cache_dir . $filename, &#8216;w&#8217;);<br />
    fwrite($filew, $buffer);<br />
    fclose($filew);<br />
    return $buffer;<br />
}</p>
<p>function display () {<br />
    global $cache_dir;<br />
    $url = getUrl();<br />
    $filename = md5($url) . &#8216;.cache&#8217;;<br />
    if (!file_exists($cache_dir . $filename)) {<br />
        return false;<br />
    }<br />
    $filer = fopen($cache_dir . $filename, &#8216;r&#8217;);<br />
    $data = fread($filer, filesize($cache_dir . $filename));<br />
    fclose($filer);<br />
    $arr = explode(&#8217;-', $filename, 2);<br />
    if (count($arr)!= 2 OR !is_numeric($arr['0'])) {<br />
        return false;<br />
    }<br />
    if (time()-(100) &gt; $arr['0']) { // 100 is the cache time here!!!<br />
        return false;<br />
    }<br />
    echo $data;<br />
    die();<br />
}</p>
<p>// Display cache (if any)<br />
display();  // if it is displayed, die function will end the program here.</p>
<p>// if no cache, callback cache<br />
ob_start (&#8217;cache&#8217;);</p>
<p>Where is the send button by the way :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About by Wow XML Flash Video Player &#124; Wowebmaster.com</title>
		<link>http://www.wowebmaster.com/about/comment-page-1/#comment-4379</link>
		<dc:creator>Wow XML Flash Video Player &#124; Wowebmaster.com</dc:creator>
		<pubDate>Sun, 23 Jan 2011 16:53:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.wowebmaster.com/blog/?page_id=2#comment-4379</guid>
		<description>[...] About [...]</description>
		<content:encoded><![CDATA[<p>[...] About [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on sIFR Lite: Faster &amp; Smaller sIFR by sIFR Your Way to Better Headlines - Noupe Design Blog</title>
		<link>http://www.wowebmaster.com/javascript/sifr-lite-faster-smaller-sifr/comment-page-1/#comment-4369</link>
		<dc:creator>sIFR Your Way to Better Headlines - Noupe Design Blog</dc:creator>
		<pubDate>Sat, 21 Aug 2010 14:20:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.wowebmaster.com/?p=29#comment-4369</guid>
		<description>[...] sIFR Lite &#8211; compressed down, more object oriented Javascript rewrite of sIFR [...]</description>
		<content:encoded><![CDATA[<p>[...] sIFR Lite &#8211; compressed down, more object oriented Javascript rewrite of sIFR [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flash Video Player Tutorial by MrKing</title>
		<link>http://www.wowebmaster.com/flash/flash-video-player-tutorial/comment-page-1/#comment-4368</link>
		<dc:creator>MrKing</dc:creator>
		<pubDate>Wed, 28 Jul 2010 03:30:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.wowebmaster.com/?p=62#comment-4368</guid>
		<description>can you just give me a .fla file of this, thanks a lot man</description>
		<content:encoded><![CDATA[<p>can you just give me a .fla file of this, thanks a lot man</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Firebug in IE: Debugging JavaScript in Internet Explorer by chicago web designer</title>
		<link>http://www.wowebmaster.com/javascript/firebug-in-ie-test-javascript-in-internet-explorer/comment-page-1/#comment-4365</link>
		<dc:creator>chicago web designer</dc:creator>
		<pubDate>Tue, 04 May 2010 19:33:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.wowebmaster.com/?p=28#comment-4365</guid>
		<description>WOW! Awesome! Just what I needed... will this work in IE5? ;)

PS. I had to use firebug to add a submit button to this form.</description>
		<content:encoded><![CDATA[<p>WOW! Awesome! Just what I needed&#8230; will this work in IE5? ;)</p>
<p>PS. I had to use firebug to add a submit button to this form.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Free Magazine Style Wordpress Themes by iPegg</title>
		<link>http://www.wowebmaster.com/featured/free-magazine-style-wordpress-themes/comment-page-1/#comment-4069</link>
		<dc:creator>iPegg</dc:creator>
		<pubDate>Wed, 16 Sep 2009 06:39:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.wowebmaster.com/?p=31#comment-4069</guid>
		<description>I love the Zinmag Futura Theme. It&#039;s good design &amp; look cool for me. Thank you so much.</description>
		<content:encoded><![CDATA[<p>I love the Zinmag Futura Theme. It&#8217;s good design &amp; look cool for me. Thank you so much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Wow XML Flash Video Player by perde modelleri</title>
		<link>http://www.wowebmaster.com/flash/wow-xml-flash-video-player/comment-page-1/#comment-3718</link>
		<dc:creator>perde modelleri</dc:creator>
		<pubDate>Tue, 01 Sep 2009 06:56:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.wowebmaster.com/?p=88#comment-3718</guid>
		<description>think much more beautiful than the other flash player users</description>
		<content:encoded><![CDATA[<p>think much more beautiful than the other flash player users</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on sIFR Lite: Faster &amp; Smaller sIFR by perde</title>
		<link>http://www.wowebmaster.com/javascript/sifr-lite-faster-smaller-sifr/comment-page-1/#comment-3702</link>
		<dc:creator>perde</dc:creator>
		<pubDate>Mon, 31 Aug 2009 14:11:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.wowebmaster.com/?p=29#comment-3702</guid>
		<description>I found and fixed a problem with sIFR Lite. The version checking is limited to single-digit versions, so it breaks after Flash Player 10. (Flash 10)</description>
		<content:encoded><![CDATA[<p>I found and fixed a problem with sIFR Lite. The version checking is limited to single-digit versions, so it breaks after Flash Player 10. (Flash 10)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flash Video Player Tutorial by Benji+</title>
		<link>http://www.wowebmaster.com/flash/flash-video-player-tutorial/comment-page-1/#comment-3632</link>
		<dc:creator>Benji+</dc:creator>
		<pubDate>Fri, 28 Aug 2009 11:00:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.wowebmaster.com/?p=62#comment-3632</guid>
		<description>how can i call video in HTML 
(i want to call video this way --in HTML-- Is there any other possible codes rather than
--video.setMedia(&quot;video.flv&quot;,&quot;FLV&quot;);)--
can you pls help .....</description>
		<content:encoded><![CDATA[<p>how can i call video in HTML<br />
(i want to call video this way &#8211;in HTML&#8211; Is there any other possible codes rather than<br />
&#8211;video.setMedia(&#8221;video.flv&#8221;,&#8221;FLV&#8221;);)&#8211;<br />
can you pls help &#8230;..</p>
]]></content:encoded>
	</item>
</channel>
</rss>
