<?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>Web development &#187; Redirect</title>
	<atom:link href="http://sourcecodemoney.com/tag/redirect/feed/" rel="self" type="application/rss+xml" />
	<link>http://sourcecodemoney.com</link>
	<description>Use source code for money</description>
	<lastBuildDate>Mon, 21 Nov 2011 12:03: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>Permanet Redirect in PHP</title>
		<link>http://sourcecodemoney.com/permanet-redirect-in-php/php-code/</link>
		<comments>http://sourcecodemoney.com/permanet-redirect-in-php/php-code/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 20:28:43 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[PHP code]]></category>
		<category><![CDATA[Header Location]]></category>
		<category><![CDATA[Lt]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Redirect]]></category>

		<guid isPermaLink="false">http://sourcecodemoney.com/?p=261</guid>
		<description><![CDATA[		<link href="http://sourcecodemoney.com/wp-content/plugins/diggme/css.css" rel="stylesheet" type="text/css" />
		&#60;?php // Permanent redirection header(&#8220;HTTP/1.1 301 Moved Permanently&#8221;); header(&#8220;Location: http://www.website.com/&#8221;); exit(); ?&#62;]]></description>
			<content:encoded><![CDATA[		<link href="http://sourcecodemoney.com/wp-content/plugins/diggme/css.css" rel="stylesheet" type="text/css" />
		<div id="diggbutton"><a href="http://digg.com/submit?phase=2&amp;url=http://sourcecodemoney.com/permanet-redirect-in-php/php-code/"><img src="http://sourcecodemoney.com/wp-content/plugins/diggme/digg.png"></a></div><p>&lt;?php<br />
// Permanent redirection<br />
header(&#8220;HTTP/1.1 301 Moved Permanently&#8221;);<br />
header(&#8220;Location: http://www.website.com/&#8221;);<br />
exit();<br />
?&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://sourcecodemoney.com/permanet-redirect-in-php/php-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Redirect with htaccess</title>
		<link>http://sourcecodemoney.com/redirect-with-htaccess/general/</link>
		<comments>http://sourcecodemoney.com/redirect-with-htaccess/general/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 02:10:31 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Htaccess Tutorial]]></category>
		<category><![CDATA[Redirect]]></category>

		<guid isPermaLink="false">http://sourcecodemoney.com/?p=251</guid>
		<description><![CDATA[		<link href="http://sourcecodemoney.com/wp-content/plugins/diggme/css.css" rel="stylesheet" type="text/css" />
		A great tutorial about redirect is this, and from apache site. Several rules:]]></description>
			<content:encoded><![CDATA[		<link href="http://sourcecodemoney.com/wp-content/plugins/diggme/css.css" rel="stylesheet" type="text/css" />
		<div id="diggbutton"><a href="http://digg.com/submit?phase=2&amp;url=http://sourcecodemoney.com/redirect-with-htaccess/general/"><img src="http://sourcecodemoney.com/wp-content/plugins/diggme/digg.png"></a></div><p>A great tutorial about redirect is <a rel="nofollow" href="http://www.webweaver.nu/html-tips/web-redirection.shtml" target="_blank">this</a>, and from <a rel="nofollow" href="http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html" target="_blank">apache site</a>.</p>
<p>Several rules:</p>
]]></content:encoded>
			<wfw:commentRss>http://sourcecodemoney.com/redirect-with-htaccess/general/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Login form with PHP</title>
		<link>http://sourcecodemoney.com/login-form-with-php/php-code/</link>
		<comments>http://sourcecodemoney.com/login-form-with-php/php-code/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 15:26:58 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[PHP code]]></category>
		<category><![CDATA[Admin Php]]></category>
		<category><![CDATA[Basic Html]]></category>
		<category><![CDATA[Delete]]></category>
		<category><![CDATA[Header Location]]></category>
		<category><![CDATA[Login Form Code]]></category>
		<category><![CDATA[Login Form Php Code]]></category>
		<category><![CDATA[Login Php]]></category>
		<category><![CDATA[Redirect]]></category>
		<category><![CDATA[Session Register]]></category>

		<guid isPermaLink="false">http://sourcecodemoney.com/?p=81</guid>
		<description><![CDATA[		<link href="http://sourcecodemoney.com/wp-content/plugins/diggme/css.css" rel="stylesheet" type="text/css" />
		First you need to create table for your user with fields: username and password. Create basic HTML form that user will fill username and password. This should be easy. The action form should should then check whether username and password is valid or not from database. You can encrypt the password using md5 functions. When [...]]]></description>
			<content:encoded><![CDATA[		<link href="http://sourcecodemoney.com/wp-content/plugins/diggme/css.css" rel="stylesheet" type="text/css" />
		<div id="diggbutton"><a href="http://digg.com/submit?phase=2&amp;url=http://sourcecodemoney.com/login-form-with-php/php-code/"><img src="http://sourcecodemoney.com/wp-content/plugins/diggme/digg.png"></a></div><ul>
<li>First you need to create table for your user with fields: username and password.</li>
<li>Create basic HTML form that user will fill username and password. This should be easy.</li>
<li>The action form should should then check whether username and password is valid or not from database. You can encrypt the password using <span class="Blue"><em><strong>md5 </strong></em>functions. When you check the password supplied by user you need to <em><strong>md5</strong></em> it too with the value stored in database.<br />
</span></li>
<li><span class="Blue">If user successfully login, then register session and redirect them to other page, like the admin page. The code to register session and redirect them is:</span></li>
</ul>
<div id="code">session_register(&#8220;username&#8221;);<br />
session_register(&#8220;password&#8221;);<br />
header(&#8220;location:admin.php&#8221;);</div>
<div>
<ul>
<li>When user logout you must delete the session:</li>
</ul>
</div>
<div id="code">session_start();<br />
session_destroy();</div>
]]></content:encoded>
			<wfw:commentRss>http://sourcecodemoney.com/login-form-with-php/php-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

