<?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>Phoar.com &#187; php</title>
	<atom:link href="http://phoar.com/wordpress/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://phoar.com/wordpress</link>
	<description>This is not a blog, Don.</description>
	<lastBuildDate>Tue, 13 Sep 2011 22:02:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>str_ireplace for PHP4</title>
		<link>http://phoar.com/wordpress/2009/08/str_ireplace-for-php4/</link>
		<comments>http://phoar.com/wordpress/2009/08/str_ireplace-for-php4/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 21:11:51 +0000</pubDate>
		<dc:creator>shs</dc:creator>
				<category><![CDATA[Fiddling]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://phoar.com/wordpress/?p=61</guid>
		<description><![CDATA[I needed a str_ireplace function for PHP4 (it&#8217;s a new in PHP5).  It does a case-insensitive string replace thing. function str_ireplace4($needle, $replacement, $haystack) { $i = 0; while (($pos = strpos(strtolower($haystack),strtolower($needle), $i)) !== false) { $haystack = substr($haystack, 0, $pos) . $replacement.substr($haystack, $pos+strlen($needle)); $i=$pos+strlen($replacement); } return $haystack; }]]></description>
			<content:encoded><![CDATA[<p><img src="http://phoar.com/wordpress/wp-content/uploads/2009/08/php-med-trans-dark.gif" alt="" title="" width="95" height="51" class="alignright size-full wp-image-65" />I needed a str_ireplace function for PHP4 (it&#8217;s a new in PHP5).  It does a case-insensitive string replace thing.</p>
<pre><code>
function str_ireplace4($needle, $replacement, $haystack) {
   $i = 0;
   while (($pos = strpos(strtolower($haystack),strtolower($needle), $i)) !== false) {
      $haystack = substr($haystack, 0, $pos) . $replacement.substr($haystack, $pos+strlen($needle));
      $i=$pos+strlen($replacement);
   }
   return $haystack;
}
 </code></pre>
]]></content:encoded>
			<wfw:commentRss>http://phoar.com/wordpress/2009/08/str_ireplace-for-php4/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>rtGui &#8211; a web based interface for rTorrent.</title>
		<link>http://phoar.com/wordpress/2009/08/rtgui-a-web-based-interface-for-rtorrent/</link>
		<comments>http://phoar.com/wordpress/2009/08/rtgui-a-web-based-interface-for-rtorrent/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 19:33:43 +0000</pubDate>
		<dc:creator>shs</dc:creator>
				<category><![CDATA[Fiddling]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[torrent]]></category>

		<guid isPermaLink="false">http://phoar.com/wordpress/?p=23</guid>
		<description><![CDATA[rtGui is a web based front end for rTorrent &#8211; the Linux command line BitTorrent client. It&#8217;s written in PHP and uses XML-RPC to communicate with the rTorrent client. For more information on rTorrent, see the home page: http://libtorrent.rakshasa.no/ Features List all torrent downloads or by started/stopped/complete/incomplete/seeding status. Ajax-style refresh information without reloading page. Sort [...]]]></description>
			<content:encoded><![CDATA[<p>rtGui is a web based front end for rTorrent &#8211; the Linux command line BitTorrent client. It&#8217;s written in PHP and uses XML-RPC to communicate with the rTorrent client.<br /> For more information on rTorrent, see the home page: <a href="http://libtorrent.rakshasa.no/">http://libtorrent.rakshasa.no/</a></p>
<h2>Features</h2>
<ul>
<li>List all torrent downloads or by started/stopped/complete/incomplete/seeding status.</li>
<li>Ajax-style refresh information without reloading page.</li>
<li>Sort view by any of the displayed columns.</li>
<li>View detailed torrent information.</li>
<li>Stop/start/hash-check torrent.</li>
<li>Set upload/download speed cap.</li>
<li>Add torrents by URL.</li>
<li>Upload torrent to rtorrent watch-directory.</li>
<li>Set priority per torrent or file.</li>
<li>Peer listing.</li>
<li>RSS Feed of completed torrents (rssfeed.php).</li>
<li>Does not require mySQL or any other database.</li>
<li>Bulk Stop/Start/Delete/Priority set.</li>
<li>Tracker URL display with configurable colouring.</li>
<li>Integrated RSS News Feed reader &#8211; download torrents directly to rTorrent (still work-in-progress).</li>
<li>Filter torrent list by tracker.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://phoar.com/wordpress/2009/08/rtgui-a-web-based-interface-for-rtorrent/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

