<?xml version="1.0" encoding="iso-8859-1"?><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 on: Secure PHP login without database</title>
	<atom:link href="http://www.crankberryblog.com/2009/secure-php-login-without-database/feed" rel="self" type="application/rss+xml" />
	<link>http://www.crankberryblog.com/2009/secure-php-login-without-database</link>
	<description>Sharing ideas on web design, development and the internet economy</description>
	<lastBuildDate>Tue, 09 Mar 2010 02:28:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Olive</title>
		<link>http://www.crankberryblog.com/2009/secure-php-login-without-database/comment-page-1#comment-239</link>
		<dc:creator>Olive</dc:creator>
		<pubDate>Tue, 09 Mar 2010 02:28:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.crankberryblog.com/?p=143#comment-239</guid>
		<description>Thank you Jerry. This is really great.</description>
		<content:encoded><![CDATA[<p>Thank you Jerry. This is really great.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerry Low</title>
		<link>http://www.crankberryblog.com/2009/secure-php-login-without-database/comment-page-1#comment-238</link>
		<dc:creator>Jerry Low</dc:creator>
		<pubDate>Mon, 08 Mar 2010 17:42:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.crankberryblog.com/?p=143#comment-238</guid>
		<description>Hey Olive,

1. The $domain code is actually just a unique naming code for your cookies. You just need to put any name. It could be Olive, code, random, or anything you like. It doesn&#039;t affect the pages and operation much.

2. These files are all currently linked together as being in the same directory. They don&#039;t have to be in the root but they have to be in the same folder. You can move them around but you&#039;ll have to change the file pointing to them.

3. You can link to the login from sub directories or have the login in a sub directory and link back. You&#039;ll have to change the path to the files though such as the login and logout php pages.

Hope that helps!</description>
		<content:encoded><![CDATA[<p>Hey Olive,</p>
<p>1. The $domain code is actually just a unique naming code for your cookies. You just need to put any name. It could be Olive, code, random, or anything you like. It doesn&#039;t affect the pages and operation much.</p>
<p>2. These files are all currently linked together as being in the same directory. They don&#039;t have to be in the root but they have to be in the same folder. You can move them around but you&#039;ll have to change the file pointing to them.</p>
<p>3. You can link to the login from sub directories or have the login in a sub directory and link back. You&#039;ll have to change the path to the files though such as the login and logout php pages.</p>
<p>Hope that helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olive</title>
		<link>http://www.crankberryblog.com/2009/secure-php-login-without-database/comment-page-1#comment-237</link>
		<dc:creator>Olive</dc:creator>
		<pubDate>Mon, 08 Mar 2010 09:07:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.crankberryblog.com/?p=143#comment-237</guid>
		<description>Hi,

Thank you very much for the code.

I have some few questions to ask as below :

1. $domain_code = &#039;website&#039;;   Should I have to put the url of the page which I want member to login before they can redirect to protected page, right? (in easy word, I mean the page that contain login form)

2. Do these code need to be in root folder? 

3. Is it possible if I would like these codes along with my other protected php pages located together in sub directory? Do I need to change any code inside?

Thank you for your kind reply.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thank you very much for the code.</p>
<p>I have some few questions to ask as below :</p>
<p>1. $domain_code = &#039;website&#039;;   Should I have to put the url of the page which I want member to login before they can redirect to protected page, right? (in easy word, I mean the page that contain login form)</p>
<p>2. Do these code need to be in root folder? </p>
<p>3. Is it possible if I would like these codes along with my other protected php pages located together in sub directory? Do I need to change any code inside?</p>
<p>Thank you for your kind reply.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerry Low</title>
		<link>http://www.crankberryblog.com/2009/secure-php-login-without-database/comment-page-1#comment-229</link>
		<dc:creator>Jerry Low</dc:creator>
		<pubDate>Tue, 02 Mar 2010 17:48:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.crankberryblog.com/?p=143#comment-229</guid>
		<description>Also, was wondering if you had cookies enabled...</description>
		<content:encoded><![CDATA[<p>Also, was wondering if you had cookies enabled&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerry Low</title>
		<link>http://www.crankberryblog.com/2009/secure-php-login-without-database/comment-page-1#comment-228</link>
		<dc:creator>Jerry Low</dc:creator>
		<pubDate>Tue, 02 Mar 2010 17:47:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.crankberryblog.com/?p=143#comment-228</guid>
		<description>Tim,

The $domain_code is merely for making cookies save unique to your website only. It won&#039;t change anything in the equation. I suppose its your login redirect that is having problem or is it he log out? Are there any error messages being outputted?</description>
		<content:encoded><![CDATA[<p>Tim,</p>
<p>The $domain_code is merely for making cookies save unique to your website only. It won&#039;t change anything in the equation. I suppose its your login redirect that is having problem or is it he log out? Are there any error messages being outputted?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.crankberryblog.com/2009/secure-php-login-without-database/comment-page-1#comment-227</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Tue, 02 Mar 2010 07:57:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.crankberryblog.com/?p=143#comment-227</guid>
		<description>Hi Jerry

The only change is to the line : header(&quot;LOCATION: PDPform.html&quot;); to reflect the name of the file I want to go to. 

Does the value of the domain code in _login_users.php have any bearing?</description>
		<content:encoded><![CDATA[<p>Hi Jerry</p>
<p>The only change is to the line : header(&#034;LOCATION: PDPform.html&#034;); to reflect the name of the file I want to go to. </p>
<p>Does the value of the domain code in _login_users.php have any bearing?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerry Low</title>
		<link>http://www.crankberryblog.com/2009/secure-php-login-without-database/comment-page-1#comment-226</link>
		<dc:creator>Jerry Low</dc:creator>
		<pubDate>Tue, 02 Mar 2010 00:13:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.crankberryblog.com/?p=143#comment-226</guid>
		<description>Hey Tim,

I was wondering if you made any changes to the code. The redirection will only work before any HTML code is outputted.</description>
		<content:encoded><![CDATA[<p>Hey Tim,</p>
<p>I was wondering if you made any changes to the code. The redirection will only work before any HTML code is outputted.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.crankberryblog.com/2009/secure-php-login-without-database/comment-page-1#comment-225</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Mon, 01 Mar 2010 23:29:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.crankberryblog.com/?p=143#comment-225</guid>
		<description>I&#039;m not a programmer but this is exactly what I need - great! However I&#039;m having trouble getting the redirect to work  - any ideas why that might be?

Thanks.</description>
		<content:encoded><![CDATA[<p>I&#039;m not a programmer but this is exactly what I need &#8211; great! However I&#039;m having trouble getting the redirect to work  &#8211; any ideas why that might be?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerry Low</title>
		<link>http://www.crankberryblog.com/2009/secure-php-login-without-database/comment-page-1#comment-209</link>
		<dc:creator>Jerry Low</dc:creator>
		<pubDate>Wed, 17 Feb 2010 17:00:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.crankberryblog.com/?p=143#comment-209</guid>
		<description>Oops sorry Erik, I keep forgetting the paths aren&#039;t relative. I&#039;m getting all these websites mashed in my head.

Anyways, I&#039;m not in need of anything right now but I&#039;ll keep that in mind.</description>
		<content:encoded><![CDATA[<p>Oops sorry Erik, I keep forgetting the paths aren&#039;t relative. I&#039;m getting all these websites mashed in my head.</p>
<p>Anyways, I&#039;m not in need of anything right now but I&#039;ll keep that in mind.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik</title>
		<link>http://www.crankberryblog.com/2009/secure-php-login-without-database/comment-page-1#comment-208</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Wed, 17 Feb 2010 11:17:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.crankberryblog.com/?p=143#comment-208</guid>
		<description>Ah, found the file at &quot;http://www.crankberryblog.com/files/php-login-without-database-pageLock.zip&quot;!</description>
		<content:encoded><![CDATA[<p>Ah, found the file at &#034;http://www.crankberryblog.com/files/php-login-without-database-pageLock.zip&#034;!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
