<?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>CyberDairy Solutions</title>
	<atom:link href="http://cyberdairy.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://cyberdairy.com</link>
	<description></description>
	<lastBuildDate>Fri, 28 Oct 2011 07:15:10 +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>Download Torrents Files</title>
		<link>http://cyberdairy.com/download-torrents-files/</link>
		<comments>http://cyberdairy.com/download-torrents-files/#comments</comments>
		<pubDate>Thu, 01 Sep 2011 10:21:17 +0000</pubDate>
		<dc:creator>techguru</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[How to]]></category>

		<guid isPermaLink="false">http://cyberdairy.com/?p=3177</guid>
		<description><![CDATA[Steps Find a torrent program that will suit your needs, the most common clients areµTorrent, Deluge, Vuze, BitTorrent, and Opera. There are plenty of<a href="http://cyberdairy.com/download-torrents-files/">(more...)</a>]]></description>
			<content:encoded><![CDATA[<h2>Steps</h2>
<div>
<ol>
<li>
<div>
<div>
<div><img src="http://pad2.whstatic.com/images/thumb/6/68/DownloadTorrents-Step-1.jpg/220px-DownloadTorrents-Step-1.jpg" alt="Find a torrent program that will suit your needs, the most common clients are http://www." width="220" height="115" border="0" /></div>
</div>
</div>
<p><strong>Find a torrent program that will suit your needs, the most common clients areµTorrent, Deluge, Vuze, BitTorrent, and Opera</strong>. There are plenty of other clients available as well.</p>
<div>
<div>
<div>
<div>
<p>&nbsp;</p>
</div>
</div>
</div>
</div>
</li>
<li>
<div>
<div>
<div><img src="http://pad2.whstatic.com/images/thumb/0/0c/DownloadTorrents-Step-2.jpg/220px-DownloadTorrents-Step-2.jpg" alt="Follow the instructions on downloading and installing your chosen client." width="220" height="165" border="0" /></div>
</div>
</div>
<p><strong>Follow the instructions on downloading and installing your chosen client</strong>.</li>
<li>
<div>
<div>
<div><img src="http://pad2.whstatic.com/images/thumb/d/de/DownloadTorrents-Step-3.jpg/220px-DownloadTorrents-Step-3.jpg" alt="Go to a torrent site and search for a file you want to download." width="220" height="114" border="0" /></div>
</div>
</div>
<p><strong>Go to a torrent site and search for a file you want to download</strong>. Many can be found by searching the web using a search engine (e.g. Google, Bing, etc.)</li>
<li>
<div>
<div>
<div><img src="http://pad2.whstatic.com/images/thumb/e/ee/DownloadTorrents-Step-4.jpg/220px-DownloadTorrents-Step-4.jpg" alt="Once you have found the desired file on the torrent site, click the &quot;Download This Torrent&quot; (or however they word it)." width="220" height="202" border="0" /></div>
</div>
</div>
<p><strong>Once you have found the desired file on the torrent site, click the &#8220;Download This Torrent&#8221; (or however they word it)</strong>. Usually, the web browser&#8217;s file download manager will ask what to do with this file. You want to open the file with your torrent program.</li>
<li>
<div>
<div>
<div><img src="http://pad1.whstatic.com/images/thumb/1/10/DownloadTorrents-Step-5.jpg/180px-DownloadTorrents-Step-5.jpg" alt="If it doesn't open that way, just save the." width="180" height="240" border="0" /></div>
</div>
</div>
<p><strong>If it doesn&#8217;t open that way, just save the </strong>.torrent file to an easy to locate place. Then open your torrent client and use the &#8220;Open Torrent&#8221; feature (Most torrent clients support click &amp; drag).</li>
<li><strong>The download will start automatically</strong>. You may now go and do something to pass the time, because torrents do not require your attention and will download in the background.</li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://cyberdairy.com/download-torrents-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Download bittorrent</title>
		<link>http://cyberdairy.com/download-bit-tp/</link>
		<comments>http://cyberdairy.com/download-bit-tp/#comments</comments>
		<pubDate>Thu, 01 Sep 2011 10:12:06 +0000</pubDate>
		<dc:creator>techguru</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[How to Download bittorrent]]></category>

		<guid isPermaLink="false">http://cyberdairy.com/?p=3016</guid>
		<description><![CDATA[Steps  Find a torrent program that will suit your needs, the most common clients areµTorrent, Deluge, Vuze, BitTorrent, and Opera. There are plenty of<a href="http://cyberdairy.com/download-bit-tp/">(more...)</a>]]></description>
			<content:encoded><![CDATA[<p><span class="Apple-style-span" style="font-size: 20px;font-weight: bold">Steps</span></p>
<div>
<ol>
<li>
<div>
<div>
<div>
<p><img src="http://pad2.whstatic.com/images/thumb/6/68/DownloadTorrents-Step-1.jpg/220px-DownloadTorrents-Step-1.jpg" alt="Find a torrent program that will suit your needs, the most common clients are http://www." width="220" height="115" border="0" /></p>
<div> <strong>Find a torrent program that will suit your needs, the most common clients areµTorrent, Deluge, Vuze, BitTorrent, and Opera</strong>. There are plenty of other clients available as well.</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p>&nbsp;</p>
</div>
</div>
</div>
</div>
</li>
<li>
<div>
<div>
<div>
<p><img src="http://pad2.whstatic.com/images/thumb/0/0c/DownloadTorrents-Step-2.jpg/220px-DownloadTorrents-Step-2.jpg" alt="Follow the instructions on downloading and installing your chosen client." width="220" height="165" border="0" /></p>
</div>
</div>
</div>
<p><strong>Follow the instructions on downloading and installing your chosen client</strong>.</li>
<li>
<div>
<div>
<div><img src="http://pad2.whstatic.com/images/thumb/d/de/DownloadTorrents-Step-3.jpg/220px-DownloadTorrents-Step-3.jpg" alt="Go to a torrent site and search for a file you want to download." width="220" height="114" border="0" /></div>
</div>
</div>
<p><strong>Go to a torrent site and search for a file you want to download</strong>. Many can be found by searching the web using a search engine (e.g. Google, Bing, etc.)</li>
<li>
<div>
<div>
<div><img src="http://pad2.whstatic.com/images/thumb/e/ee/DownloadTorrents-Step-4.jpg/220px-DownloadTorrents-Step-4.jpg" alt="Once you have found the desired file on the torrent site, click the &quot;Download This Torrent&quot; (or however they word it)." width="220" height="202" border="0" /></div>
</div>
</div>
<p><strong>Once you have found the desired file on the torrent site, click the &#8220;Download This Torrent&#8221; (or however they word it)</strong>. Usually, the web browser&#8217;s file download manager will ask what to do with this file. You want to open the file with your torrent program.</li>
<li>
<div>
<div>
<div>
<p><img src="http://pad1.whstatic.com/images/thumb/1/10/DownloadTorrents-Step-5.jpg/180px-DownloadTorrents-Step-5.jpg" alt="If it doesn't open that way, just save the." width="180" height="240" border="0" /></p>
</div>
</div>
</div>
<p><strong>If it doesn&#8217;t open that way, just save the </strong>.torrent file to an easy to locate place. Then open your torrent client and use the &#8220;Open Torrent&#8221; feature (Most torrent clients support click &amp; drag).</li>
<li><strong>The download will start automatically</strong>. You may now go and do something to pass the time, because torrents do not require your attention and will download in the background.</li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://cyberdairy.com/download-bit-tp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Word count like function Ver.1.0! This function can count your input text</title>
		<link>http://cyberdairy.com/word-count-function-ver-1-0-function-count-input-text/</link>
		<comments>http://cyberdairy.com/word-count-function-ver-1-0-function-count-input-text/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 10:59:48 +0000</pubDate>
		<dc:creator>coder</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://cyberdairy.com/?p=3156</guid>
		<description><![CDATA[Word count like function Ver.1.0! This function can count your input text and display only part of it (like a<a href="http://cyberdairy.com/word-count-function-ver-1-0-function-count-input-text/">(more...)</a>]]></description>
			<content:encoded><![CDATA[<pre>Word count like function Ver.1.0! This function can count your input text
and display only part of it (like a description) without cutting words in half

  function smart_text ($text_input_var[string] ,text_length[int])
  {
      $strip_content=stripslashes($content);
      $all_content=strlen("$strip_content"); 

      $standard_content=substr($strip_content ,$text_length);
      $compare=stristr($standard_content ," ");
      $minus_content=strlen("$compare"); 

      $result_content=$all_content-$minus_content;
      $display_content=substr($strip_content ,0, $result_content); 

      $striped_content=stripslashes($display_content);
      echo nl2br($striped_content);
  } 

For example i insert a 300 words test but only want about 3 rows of it to be displayed
without cutting words in half. 

function smart_text($text,200) 

Displayed result will be the first 200 letters of the text plus the letters till the first space
char.</pre>
]]></content:encoded>
			<wfw:commentRss>http://cyberdairy.com/word-count-function-ver-1-0-function-count-input-text/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trim Function</title>
		<link>http://cyberdairy.com/trim-function/</link>
		<comments>http://cyberdairy.com/trim-function/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 10:59:32 +0000</pubDate>
		<dc:creator>coder</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://cyberdairy.com/?p=3154</guid>
		<description><![CDATA[Trim Function Left - ltrim() function &#60;?php $text = "\t\tThese are a few words ... "; $trimmed = ltrim($text); //<a href="http://cyberdairy.com/trim-function/">(more...)</a>]]></description>
			<content:encoded><![CDATA[<pre>Trim Function

Left - ltrim() function
&lt;?php 

$text = "\t\tThese are a few words <img src='http://cyberdairy.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ...  ";
$trimmed = ltrim($text);
// $trimmed = "These are a few words <img src='http://cyberdairy.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ...  "
$trimmed = ltrim($text," \t.");
// $trimmed = "These are a few words <img src='http://cyberdairy.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ...  "
$clean = ltrim($binary,"x00..x1F");
// trim the ASCII control characters at the beginning of $binary
// (from 0 to 31 inclusive) 

?&gt; 

Right - rtrim() function
&lt;?php 

$text = "\t\tThese are a few words <img src='http://cyberdairy.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ...  ";
$trimmed = rtrim($text);
// $trimmed = "\t\tThese are a few words <img src='http://cyberdairy.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ..."
$trimmed = rtrim($text," \t.");
// $trimmed = "\t\tThese are a few words <img src='http://cyberdairy.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> "
$clean = rtrim($binary,"x00..x1F");
// trim the ASCII control characters at the end of $binary
// (from 0 to 31 inclusive) 

?&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://cyberdairy.com/trim-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>This function allows you to take any string and split it into fairly even pieces</title>
		<link>http://cyberdairy.com/function-string-split-pieces/</link>
		<comments>http://cyberdairy.com/function-string-split-pieces/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 10:59:18 +0000</pubDate>
		<dc:creator>coder</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://cyberdairy.com/?p=3152</guid>
		<description><![CDATA[This function allows you to take any string and split it into fairly even pieces &#60;? function breakString($str="", $pieces="") {<a href="http://cyberdairy.com/function-string-split-pieces/">(more...)</a>]]></description>
			<content:encoded><![CDATA[<pre>This function allows you to take any string and split it into fairly even pieces

&lt;? 

function breakString($str="", $pieces="") { 

// Find out how big the string is
$len = strlen($str); 

// String size can't be less than pieces
if ($len &lt; $pieces) {
    $ary[0] = "String Size is less than Number of Pieces";
    return $ary;
} 

// Find out how big each piece should be
$lim = $len / $pieces;
$start = 0;
$i = 0;
$l = 0; 

// Split string into individual characters
for ($k = 0; $k &lt; $len; $k++) {
     $x = $k + 1;
     $g[$k] = substr($str,$k,1);
} 

// Start Making Pieces
while ($i &lt; $pieces) { 

// Glue Pieces Back Togeather
   for ($j = $start; $j &lt; $lim; $j++) {
       $tmp = $tmp . $g[$l];
       $l++;
   } 

// Back up one character in the array
   $x = $l - 1; 

// If Last Charecter is NOT a space, AND this is NOT the last piece,
// Go until the next  space is found
   while (($g[$x] != " ") AND ($i != $pieces -1)) {
     $tmp = $tmp . $g[$l];
     $g[$x] = $g[$l];
     $l++;
   } 

// Move this String into array piece
   $ary[$i] = $tmp;
// Reset String
   $tmp = "";
   $i++;
} 

// Output String
   return $ary; 

} 

$text = "this is a little test with php3, MYSQL and Apache on my webserver. It works fine but i have to learn a lot about php3!";
echo("&lt;b&gt;$text&lt;/b&gt;&lt;br&gt;&lt;br&gt;"); 

$now = breakString($text, 3); 

$sze = sizeof($now); 

for ($ii = 0; $ii &lt; $sze; $ii++) {
     echo("$now[$ii]&lt;br&gt;");
} 

?&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://cyberdairy.com/function-string-split-pieces/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sub String Replace</title>
		<link>http://cyberdairy.com/string-replace/</link>
		<comments>http://cyberdairy.com/string-replace/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 10:58:58 +0000</pubDate>
		<dc:creator>coder</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://cyberdairy.com/?p=3150</guid>
		<description><![CDATA[Sub String Replace &#60;?php $var = 'ABCDEFGH:/MNRPQR/'; echo "Original: $var&#60;hr&#62;\n"; /* These two examples replace all of $var with 'bob'.<a href="http://cyberdairy.com/string-replace/">(more...)</a>]]></description>
			<content:encoded><![CDATA[<pre>Sub String Replace

&lt;?php
$var = 'ABCDEFGH:/MNRPQR/';
echo "Original: $var&lt;hr&gt;\n"; 

/* These two examples replace all of $var with 'bob'. */
echo substr_replace($var, 'bob', 0) . "&lt;br&gt;\n";
echo substr_replace($var, 'bob', 0, strlen($var)) . "&lt;br&gt;\n"; 

/* Insert 'bob' right at the beginning of $var. */
echo substr_replace($var, 'bob', 0, 0) . "&lt;br&gt;\n"; 

/* These next two replace 'MNRPQR' in $var with 'bob'. */
echo substr_replace($var, 'bob', 10, -1) . "&lt;br&gt;\n";
echo substr_replace($var, 'bob', -7, -1) . "&lt;br&gt;\n"; 

/* Delete 'MNRPQR' from $var. */
echo substr_replace($var, '', 10, -1) . "&lt;br&gt;\n";
?&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://cyberdairy.com/string-replace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

