<?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>ToTheTech.Net - The Webmaster Guide &#187; PHP</title>
	<atom:link href="http://www.tothetech.net/category/php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.tothetech.net</link>
	<description>We write all about Webmaster needs.</description>
	<lastBuildDate>Sat, 04 Sep 2010 05:00:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>How to insert External RSS in WordPress</title>
		<link>http://www.tothetech.net/php/how-to-insert-external-rss-in-wordpress.html</link>
		<comments>http://www.tothetech.net/php/how-to-insert-external-rss-in-wordpress.html#comments</comments>
		<pubDate>Wed, 25 Aug 2010 02:51:19 +0000</pubDate>
		<dc:creator>Karthikeyan</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[External]]></category>
		<category><![CDATA[RSS]]></category>

		<guid isPermaLink="false">http://www.tothetech.net/?p=214</guid>
		<description><![CDATA[Inserting External RSS in WordPress is very easy, all you need to insert a piece of code by including rss.php inside your theme. &#60;?php include_once(ABSPATH.WPINC.'/rss.php'); wp_rss('http://feeds.tothetech.com/tothetech/webmaster', 5); ?&#62; The above piece of code which includes the external RSS inside your wordpress. You can increase number of RSS feeds and count syntax : wp_rss(&#8216;feed URL&#8217;, count); [...]]]></description>
			<content:encoded><![CDATA[<p>Inserting External RSS in WordPress is very easy, all you need to insert a piece of code by including rss.php inside your theme.</p>
<p><span id="more-214"></span></p>
<pre>
&lt;?php include_once(ABSPATH.WPINC.'/rss.php');
wp_rss('http://feeds.tothetech.com/tothetech/webmaster', 5); ?&gt;
</pre>
<p>The above piece of code which includes the external RSS inside your wordpress. You can increase number of RSS feeds and count  syntax : <strong> wp_rss(&#8216;feed URL&#8217;, count);</strong> we hope this above tip useful for you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tothetech.net/php/how-to-insert-external-rss-in-wordpress.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP 5.3.0 With Advanced Concepts</title>
		<link>http://www.tothetech.net/php/php-5-3-0-with-advanced-concepts.html</link>
		<comments>http://www.tothetech.net/php/php-5-3-0-with-advanced-concepts.html#comments</comments>
		<pubDate>Sun, 12 Jul 2009 07:46:54 +0000</pubDate>
		<dc:creator>Karthikeyan</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Webmaster]]></category>
		<category><![CDATA[Webserver]]></category>

		<guid isPermaLink="false">http://www.tothetech.net/?p=112</guid>
		<description><![CDATA[PHP development team on 30th June 2009, announced the availability of PHP 5.3.0 to users with lot of improved concepts in PHP 5.3.0. This new major release includes large number of new features and bug fixes. PHP 5.3.0 comes with featured concepts like namespaces, late static binding, closures, optional garbage collection for cyclic references, new [...]]]></description>
			<content:encoded><![CDATA[<p>PHP development team on 30th June 2009, announced the availability of PHP 5.3.0 to users with lot of improved concepts in PHP 5.3.0. This new major release includes large number of new features and bug fixes.</p>
<p><span id="more-112"></span>PHP 5.3.0 comes with featured concepts like <a href="http://php.net/namespaces">namespaces</a>,       <a href="http://php.net/lsb">late static binding</a>,       <a href="http://php.net/closures">closures</a>,       optional <a href="http://php.net/gc_enable">garbage collection</a> for cyclic references,       new extensions (like <a href="http://php.net/phar">ext/phar</a>,       <a href="http://php.net/intl">ext/intl</a> and       <a href="http://php.net/fileinfo">ext/fileinfo</a>),       over 140 bug fixes and much more.</p>
<p>To install PHP 5.3.0 with Apache 2 check out <strong><a title="Install PHP 5.3.0 in Ubuntu" href="http://www.brandonsavage.net/installing-php-5-3-on-ubuntu/" target="_blank">brandonsavage.net instructions</a></strong> about how to install PHP 5.3.0 in Ubuntu Linux operating system.</p>
<p><img title="PHP 5.3.0 on ubuntu" src="http://images.tothetech.net/2009/07/php5-3.jpg" alt="PHP 5.3.0 on ubuntu" /></p>
<p>Check out official <strong><a title="PHP 5.3.0 " href="http://php.net/releases/5_3_0.php" target="_blank">PHP 5.3.0 Release Announcement</a></strong> to learn about key features included in PHP 5.3.0.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tothetech.net/php/php-5-3-0-with-advanced-concepts.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Uploading File Using PHP</title>
		<link>http://www.tothetech.net/php/uploading-file-using-php.html</link>
		<comments>http://www.tothetech.net/php/uploading-file-using-php.html#comments</comments>
		<pubDate>Tue, 05 May 2009 02:38:34 +0000</pubDate>
		<dc:creator>Karthikeyan</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[upload]]></category>

		<guid isPermaLink="false">http://www.tothetech.net/?p=87</guid>
		<description><![CDATA[Uploading files via PHP is a simple process just you need to mention the uploading file enctype=&#8221;multipart/form-data&#8221; in form tag. If you missed enctype there will be an error no index file. Let&#8217;s see an example how to upload files using PHP. upload.html &#60;form action="upload.php" enctype="multipart/form-data" method="post"&#62; &#60;input name="t1" type="file" /&#62; &#60;input type="submit" value="upload file" [...]]]></description>
			<content:encoded><![CDATA[<p>Uploading files via PHP is a simple process just you need to mention the uploading file enctype=&#8221;multipart/form-data&#8221; in form tag. If you missed enctype there will be an error no index file.</p>
<p><span id="more-87"></span>Let&#8217;s see an example how to upload files using PHP.</p>
<p><strong>upload.html</strong></p>
<pre>
<code>
&lt;form action="upload.php" enctype="multipart/form-data" method="post"&gt;

&lt;input name="t1" type="file" /&gt;
&lt;input type="submit" value="upload file" /&gt;
&lt;/form&gt;</code>
</pre>
<p>input type=&#8221;file&#8221; which gives a text box with browse button to upload files.</p>
<p><strong>upload.php</strong></p>
<pre>
<code>&lt;?php
$tmpname =$_FILES['t1']['tmp_name'];
$filename =$_FILES['t1']['name'];
$filetype =$_FILES['t1']['type'];
$filesize =$_FILES['t1']['size'];

echo "Temporary File Name : $tmpname &lt;br&gt;";
echo "File Name : $filename &lt;br&gt;";
echo "File Type : $filetype &lt;br&gt;";
echo "File Size : $filesize &lt;br&gt;";

move_uploaded_file($tmpname,$filename);

?&gt;</code>
</pre>
<p>The above coding gets the file enctype and file name,size,type and temporary file path and prints at last move_uploaded_file() which moves temporary file to a destination. <strong>Note:</strong> (You can set path for moving file to particular location eg: move_uploaded_file($tmpname,&#8221;D:/upload/&#8221;.$filename); )</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tothetech.net/php/uploading-file-using-php.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Encrypting Data Using PHP</title>
		<link>http://www.tothetech.net/php/encrypting-data-using-php.html</link>
		<comments>http://www.tothetech.net/php/encrypting-data-using-php.html#comments</comments>
		<pubDate>Mon, 04 May 2009 02:15:15 +0000</pubDate>
		<dc:creator>Karthikeyan</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[MD5]]></category>

		<guid isPermaLink="false">http://www.tothetech.net/?p=77</guid>
		<description><![CDATA[If your database table contains user name and password, if you are storing user name and password directly into database table without encrypting it may become a problem. If any intruders hack your database they can track out secret passwords and they can misuse it. At least password field should be encrypted before it is [...]]]></description>
			<content:encoded><![CDATA[<p>If your database table contains user name and password, if you are storing user name and password directly into database table without encrypting it may become a problem. If any intruders hack your database they can track out secret passwords and they can misuse it. At least password field should be encrypted before it is stored in database.</p>
<p><span id="more-77"></span></p>
<p>By default PHP provides MD5 encryption technique which doesn&#8217;t have decryption algorithm. So its difficult to decrypt an encrypted content via MD5.</p>
<p><strong>What is MD5 ?</strong></p>
<p><em>Wikipedia Says:</em></p>
<p>MD5 (Message-Digest algorithm 5) is a widely used cryptographic hash function with a 128-bit hash value. As an Internet standard (RFC 1321), MD5 has been employed in a wide variety of security applications, and is also commonly used to check the integrity of files</p>
<p>Most Web developers mostly use MD5 concept to encrypt in PHP(Front end). MD5 function is simply a secured one to encrypt your data and save it in back end(MySQL).</p>
<p><strong>Example code</strong></p>
<pre>
<code>&lt;?php
$str="welcome";
echo md5($str);
?&gt;</code>
</pre>
<p>The output will be <strong>40be4e59b9a2a2b5dffb918c0e86b3</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tothetech.net/php/encrypting-data-using-php.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
