<?xml version="1.0" encoding="UTF-8"?><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: Advanced PHP User Login</title>
	<atom:link href="http://php4every1.com/tutorials/advanced-php-user-login/feed/" rel="self" type="application/rss+xml" />
	<link>http://php4every1.com/tutorials/advanced-php-user-login/</link>
	<description>Blog with PHP, MySQL and other tutorials. You can also download my scripts, report a bug or leave a feedback.</description>
	<lastBuildDate>Wed, 08 Sep 2010 19:24:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Marijan Šuflaj</title>
		<link>http://php4every1.com/tutorials/advanced-php-user-login/comment-page-1/#comment-5699</link>
		<dc:creator>Marijan Šuflaj</dc:creator>
		<pubDate>Mon, 16 Aug 2010 22:04:03 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=261#comment-5699</guid>
		<description>You mean when user logs in he get&#039;s different TAN?

Yes, why not. You would either store that TAN code in session or in database so you can track which code you&#039;ve sent.</description>
		<content:encoded><![CDATA[<p>You mean when user logs in he get&#8217;s different TAN?</p>
<p>Yes, why not. You would either store that TAN code in session or in database so you can track which code you&#8217;ve sent.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oguzhan U</title>
		<link>http://php4every1.com/tutorials/advanced-php-user-login/comment-page-1/#comment-5692</link>
		<dc:creator>Oguzhan U</dc:creator>
		<pubDate>Mon, 16 Aug 2010 15:20:10 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=261#comment-5692</guid>
		<description>Hi Marijan,

Thanks for the helpful tutorial. I was wondering. Is it possible to generate TAN codes on the spot (after authentication with user/pass perhaps) and send the TAN code by mail/sms.

I&#039;m trying to make use of a (secure) authentication method for my website, and i&#039;m thinking of implementing TAN by SMS.

Regards,
Oguzhan U.</description>
		<content:encoded><![CDATA[<p>Hi Marijan,</p>
<p>Thanks for the helpful tutorial. I was wondering. Is it possible to generate TAN codes on the spot (after authentication with user/pass perhaps) and send the TAN code by mail/sms.</p>
<p>I&#8217;m trying to make use of a (secure) authentication method for my website, and i&#8217;m thinking of implementing TAN by SMS.</p>
<p>Regards,<br />
Oguzhan U.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: piyush kumar</title>
		<link>http://php4every1.com/tutorials/advanced-php-user-login/comment-page-1/#comment-4852</link>
		<dc:creator>piyush kumar</dc:creator>
		<pubDate>Fri, 23 Jul 2010 08:28:00 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=261#comment-4852</guid>
		<description>osum that type website is best for learnner
i talk to u so plz give me time on gmail.com
countinue study and learn developer.
go head.
best of luck
thanks
piyush</description>
		<content:encoded><![CDATA[<p>osum that type website is best for learnner<br />
i talk to u so plz give me time on gmail.com<br />
countinue study and learn developer.<br />
go head.<br />
best of luck<br />
thanks<br />
piyush</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marijan Šuflaj</title>
		<link>http://php4every1.com/tutorials/advanced-php-user-login/comment-page-1/#comment-4273</link>
		<dc:creator>Marijan Šuflaj</dc:creator>
		<pubDate>Fri, 18 Jun 2010 11:53:15 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=261#comment-4273</guid>
		<description>&lt;ol&gt;
	&lt;li&gt;One way is to assign each user a group with some privileges and to each page privilege that is required to access it. A better example you can find in these two posts (&lt;a href=&quot;http://php4every1.com/tutorials/create-permissions-using-bitwise-operators-in-php/&quot; title=&quot;Permissions Using Bitwise&quot; rel=&quot;nofollow&quot;&gt;Permissions Using Bitwise&lt;/a&gt; and &lt;a href=&quot;http://php4every1.com/tutorials/implementing-bitwise-permissions/&quot; title=&quot;Implementing Bitwise Permissions&quot; rel=&quot;nofollow&quot;&gt;Implementing Bitwise Permissions&lt;/a&gt;).&lt;/li&gt;
	&lt;li&gt;Using &lt;i&gt;session_destroy()&lt;/i&gt; functions should work and log out user.&lt;/li&gt;
&lt;/ol&gt;</description>
		<content:encoded><![CDATA[<ol>
<li>One way is to assign each user a group with some privileges and to each page privilege that is required to access it. A better example you can find in these two posts (<a href="http://php4every1.com/tutorials/create-permissions-using-bitwise-operators-in-php/" title="Permissions Using Bitwise" rel="nofollow">Permissions Using Bitwise</a> and <a href="http://php4every1.com/tutorials/implementing-bitwise-permissions/" title="Implementing Bitwise Permissions" rel="nofollow">Implementing Bitwise Permissions</a>).</li>
<li>Using <i>session_destroy()</i> functions should work and log out user.</li>
</ol>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://php4every1.com/tutorials/advanced-php-user-login/comment-page-1/#comment-4272</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Fri, 18 Jun 2010 10:38:15 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=261#comment-4272</guid>
		<description>Really like this script, not seen an example like this before.

Once a user logged in how can you allow/prevent access to particular pages and how would you log them out, I&#039;ve tried using the session but seen to be missing something.</description>
		<content:encoded><![CDATA[<p>Really like this script, not seen an example like this before.</p>
<p>Once a user logged in how can you allow/prevent access to particular pages and how would you log them out, I&#8217;ve tried using the session but seen to be missing something.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marijan Šuflaj</title>
		<link>http://php4every1.com/tutorials/advanced-php-user-login/comment-page-1/#comment-3508</link>
		<dc:creator>Marijan Šuflaj</dc:creator>
		<pubDate>Thu, 29 Apr 2010 11:49:35 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=261#comment-3508</guid>
		<description>You can easily do it with window.location. When you get AJAX response that user is authenticated you can do window.location = &quot;http://where.you.want.to.redirect&quot;.</description>
		<content:encoded><![CDATA[<p>You can easily do it with window.location. When you get AJAX response that user is authenticated you can do window.location = &#8220;http://where.you.want.to.redirect&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stanley</title>
		<link>http://php4every1.com/tutorials/advanced-php-user-login/comment-page-1/#comment-3497</link>
		<dc:creator>Stanley</dc:creator>
		<pubDate>Wed, 28 Apr 2010 17:57:39 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=261#comment-3497</guid>
		<description>I found your advanced user login module very useful. However i want to know if there is anyway we can implement redirect to another page after successful authentication. How best can this be done and what are the codes to use. Thanks for your reply</description>
		<content:encoded><![CDATA[<p>I found your advanced user login module very useful. However i want to know if there is anyway we can implement redirect to another page after successful authentication. How best can this be done and what are the codes to use. Thanks for your reply</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marijan Šuflaj</title>
		<link>http://php4every1.com/tutorials/advanced-php-user-login/comment-page-1/#comment-1167</link>
		<dc:creator>Marijan Šuflaj</dc:creator>
		<pubDate>Sun, 15 Nov 2009 20:14:30 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=261#comment-1167</guid>
		<description>You should have array with two dimensions for errors so you do not have &lt;code&gt;$return[&#039;msg&#039;]&lt;/code&gt; but &lt;code&gt;$return[&#039;msg&#039;][]&lt;/code&gt;.

Next you should remove break lines.

Then you have to, in jQery part, where you have 
&lt;code&gt;if (data.error === true) {
    ...
}&lt;/code&gt; a
dd for loop that will echo each error.</description>
		<content:encoded><![CDATA[<p>You should have array with two dimensions for errors so you do not have <code>$return['msg']</code> but <code>$return['msg'][]</code>.</p>
<p>Next you should remove break lines.</p>
<p>Then you have to, in jQery part, where you have<br />
<code>if (data.error === true) {<br />
    ...<br />
}</code> a<br />
dd for loop that will echo each error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emil</title>
		<link>http://php4every1.com/tutorials/advanced-php-user-login/comment-page-1/#comment-1161</link>
		<dc:creator>Emil</dc:creator>
		<pubDate>Sun, 15 Nov 2009 10:50:46 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=261#comment-1161</guid>
		<description>What should I do to make the script show more than one error at a time? I guess I need to use some form of loop.

Ex: Show both &quot;You did not enter your email.&quot; and &quot;You did not enter your password.&quot; if non of them are filled in.</description>
		<content:encoded><![CDATA[<p>What should I do to make the script show more than one error at a time? I guess I need to use some form of loop.</p>
<p>Ex: Show both &#8220;You did not enter your email.&#8221; and &#8220;You did not enter your password.&#8221; if non of them are filled in.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marijan Šuflaj</title>
		<link>http://php4every1.com/tutorials/advanced-php-user-login/comment-page-1/#comment-505</link>
		<dc:creator>Marijan Šuflaj</dc:creator>
		<pubDate>Sun, 20 Sep 2009 20:21:10 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=261#comment-505</guid>
		<description>You can make same thing for normal page (save user to session and then check if he has privileges to access this part of the page) :).</description>
		<content:encoded><![CDATA[<p>You can make same thing for normal page (save user to session and then check if he has privileges to access this part of the page) <img src='http://php4every1.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
	</item>
</channel>
</rss>
