<?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: Ajax login validation system in PHP using jQuery</title>
	<atom:link href="http://roshanbh.com.np/2008/04/ajax-login-validation-php-jquery.html/feed" rel="self" type="application/rss+xml" />
	<link>http://roshanbh.com.np/2008/04/ajax-login-validation-php-jquery.html</link>
	<description>Useful Tutorials, Scripts , Tips, and Resources for all PHP and Ajax beginners and experts .</description>
	<lastBuildDate>Wed, 10 Mar 2010 10:59:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Lionel</title>
		<link>http://roshanbh.com.np/2008/04/ajax-login-validation-php-jquery.html/comment-page-3#comment-5087</link>
		<dc:creator>Lionel</dc:creator>
		<pubDate>Sat, 23 Jan 2010 20:53:06 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/04/ajax-login-validation-php-jquery.html#comment-5087</guid>
		<description>Great Script!

Any help to add the Remember Me checkbox will be welcomed :D

I tried to add it, but I am unable to even view if the checkbox is checked or not the ajax_login.php. 

It is something stupid but I can&#039;t find why I can&#039;t see if it exist or not....

Any help will we be welcomed.

Thanks all and thanks for this great script</description>
		<content:encoded><![CDATA[<p>Great Script!</p>
<p>Any help to add the Remember Me checkbox will be welcomed <img src='http://roshanbh.com.np/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>I tried to add it, but I am unable to even view if the checkbox is checked or not the ajax_login.php. </p>
<p>It is something stupid but I can&#8217;t find why I can&#8217;t see if it exist or not&#8230;.</p>
<p>Any help will we be welcomed.</p>
<p>Thanks all and thanks for this great script</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tugboat</title>
		<link>http://roshanbh.com.np/2008/04/ajax-login-validation-php-jquery.html/comment-page-3#comment-5082</link>
		<dc:creator>tugboat</dc:creator>
		<pubDate>Fri, 22 Jan 2010 17:37:09 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/04/ajax-login-validation-php-jquery.html#comment-5082</guid>
		<description>Yeah, so the only way I can get it to work is if I change line 27 of &#039;ajax_login.php&#039; to:

if(strcmp($row[&#039;password&#039;],$_POST[&#039;password&#039;])==0)

Is this somehow risking the security of the site?</description>
		<content:encoded><![CDATA[<p>Yeah, so the only way I can get it to work is if I change line 27 of &#8216;ajax_login.php&#8217; to:</p>
<p>if(strcmp($row['password'],$_POST['password'])==0)</p>
<p>Is this somehow risking the security of the site?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tugboat</title>
		<link>http://roshanbh.com.np/2008/04/ajax-login-validation-php-jquery.html/comment-page-3#comment-5081</link>
		<dc:creator>tugboat</dc:creator>
		<pubDate>Fri, 22 Jan 2010 17:17:56 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/04/ajax-login-validation-php-jquery.html#comment-5081</guid>
		<description>I don&#039;t know why, but the md5() function isn&#039;t de-encrypting the password when I try this.  

If I change line 34 on &#039;ajax_login.php&#039; to:   echo &quot;rejected password =&quot;.$pass;

And add the following line between lines 21 and 22 of &#039;index.html&#039;: alert(data); 

I can see that the password is still very, very encoded and therefore fails the test.  

I&#039;m really curious why this is happening, if you have any ideas.

Thank you.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know why, but the md5() function isn&#8217;t de-encrypting the password when I try this.  </p>
<p>If I change line 34 on &#8216;ajax_login.php&#8217; to:   echo &#8220;rejected password =&#8221;.$pass;</p>
<p>And add the following line between lines 21 and 22 of &#8216;index.html&#8217;: alert(data); </p>
<p>I can see that the password is still very, very encoded and therefore fails the test.  </p>
<p>I&#8217;m really curious why this is happening, if you have any ideas.</p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pligg.com</title>
		<link>http://roshanbh.com.np/2008/04/ajax-login-validation-php-jquery.html/comment-page-3#comment-4927</link>
		<dc:creator>pligg.com</dc:creator>
		<pubDate>Thu, 17 Dec 2009 19:24:56 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/04/ajax-login-validation-php-jquery.html#comment-4927</guid>
		<description>&lt;strong&gt;Ajax login validation system in PHP...&lt;/strong&gt;

Last time, I&#039;ve showed you how to check user availability in Ajax using jQuery&#039;s fading effect. But I&#039;ve just shown the example without connecting the database and some people have faced problem with database connecting solution of that problem.In t...</description>
		<content:encoded><![CDATA[<p><strong>Ajax login validation system in PHP&#8230;</strong></p>
<p>Last time, I&#8217;ve showed you how to check user availability in Ajax using jQuery&#8217;s fading effect. But I&#8217;ve just shown the example without connecting the database and some people have faced problem with database connecting solution of that problem.In t&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MeD</title>
		<link>http://roshanbh.com.np/2008/04/ajax-login-validation-php-jquery.html/comment-page-3#comment-4898</link>
		<dc:creator>MeD</dc:creator>
		<pubDate>Fri, 11 Dec 2009 18:26:37 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/04/ajax-login-validation-php-jquery.html#comment-4898</guid>
		<description>Hi,
I will use it ,
thanks</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I will use it ,<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kit</title>
		<link>http://roshanbh.com.np/2008/04/ajax-login-validation-php-jquery.html/comment-page-3#comment-4896</link>
		<dc:creator>Kit</dc:creator>
		<pubDate>Fri, 11 Dec 2009 08:35:51 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/04/ajax-login-validation-php-jquery.html#comment-4896</guid>
		<description>I don&#039;t understand why you took the approach in first checking for the user and grab the row, then compare the password.

Why didn&#039;t you just include the password in your SELECT query statement?

$sql=&quot;SELECT user_name, password FROM tbl_user WHERE user_name=&#039;&quot;.$user_name.&quot;&#039; AND password = &#039;.$password.&#039;&quot;;

This way you don&#039;t need to return unnecessary result set all the time if an invalid password is provided.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t understand why you took the approach in first checking for the user and grab the row, then compare the password.</p>
<p>Why didn&#8217;t you just include the password in your SELECT query statement?</p>
<p>$sql=&#8221;SELECT user_name, password FROM tbl_user WHERE user_name=&#8217;&#8221;.$user_name.&#8221;&#8216; AND password = &#8216;.$password.&#8217;&#8221;;</p>
<p>This way you don&#8217;t need to return unnecessary result set all the time if an invalid password is provided.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ??????? &#187; [Web] ????</title>
		<link>http://roshanbh.com.np/2008/04/ajax-login-validation-php-jquery.html/comment-page-3#comment-4851</link>
		<dc:creator>??????? &#187; [Web] ????</dc:creator>
		<pubDate>Wed, 25 Nov 2009 02:41:59 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/04/ajax-login-validation-php-jquery.html#comment-4851</guid>
		<description>[...] Ajax login in PHP using jQuery [...]</description>
		<content:encoded><![CDATA[<p>[...] Ajax login in PHP using jQuery [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paskuale</title>
		<link>http://roshanbh.com.np/2008/04/ajax-login-validation-php-jquery.html/comment-page-3#comment-4845</link>
		<dc:creator>paskuale</dc:creator>
		<pubDate>Tue, 24 Nov 2009 08:45:16 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/04/ajax-login-validation-php-jquery.html#comment-4845</guid>
		<description>great work ... I resolve my problema with your comment (jquery trim( ));</description>
		<content:encoded><![CDATA[<p>great work &#8230; I resolve my problema with your comment (jquery trim( ));</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank</title>
		<link>http://roshanbh.com.np/2008/04/ajax-login-validation-php-jquery.html/comment-page-3#comment-4820</link>
		<dc:creator>Frank</dc:creator>
		<pubDate>Mon, 16 Nov 2009 17:43:40 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/04/ajax-login-validation-php-jquery.html#comment-4820</guid>
		<description>Forgot the login form:

 
 
 

</description>
		<content:encoded><![CDATA[<p>Forgot the login form:</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank</title>
		<link>http://roshanbh.com.np/2008/04/ajax-login-validation-php-jquery.html/comment-page-3#comment-4818</link>
		<dc:creator>Frank</dc:creator>
		<pubDate>Mon, 16 Nov 2009 17:10:55 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/04/ajax-login-validation-php-jquery.html#comment-4818</guid>
		<description>Nice coding but I found a bug so u can try login thousands times with not your own username.
If you fill in an username and a password you can try to hack the account. If you only fill the username you can try hundreds of passwords. If you click on the username the errorbox refreshes everytime! Not a good login for evil hackers!

roshan do you have a solution for this?</description>
		<content:encoded><![CDATA[<p>Nice coding but I found a bug so u can try login thousands times with not your own username.<br />
If you fill in an username and a password you can try to hack the account. If you only fill the username you can try hundreds of passwords. If you click on the username the errorbox refreshes everytime! Not a good login for evil hackers!</p>
<p>roshan do you have a solution for this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gagan Shrestha</title>
		<link>http://roshanbh.com.np/2008/04/ajax-login-validation-php-jquery.html/comment-page-3#comment-4804</link>
		<dc:creator>Gagan Shrestha</dc:creator>
		<pubDate>Wed, 11 Nov 2009 03:11:20 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/04/ajax-login-validation-php-jquery.html#comment-4804</guid>
		<description>hello roshan,
your code looks great and simple,
i tried but some problem occured that i am unable to figure out, hope to get help from u
My probem is that whe i post the user name and password to ajax_login.php every thing woks fine and it also echoes &quot;yes&quot; but the data variable in the statement if(data==&quot;yes&quot;) in the javascript seems to be blank. when l console.log(&quot;data:&quot;+data) the value of the data in firebug i see that 
data: is printed before &quot;yes&quot;
seems that my callback function is executed before the value passed is taken by the function....
some help would be appreciated..</description>
		<content:encoded><![CDATA[<p>hello roshan,<br />
your code looks great and simple,<br />
i tried but some problem occured that i am unable to figure out, hope to get help from u<br />
My probem is that whe i post the user name and password to ajax_login.php every thing woks fine and it also echoes &#8220;yes&#8221; but the data variable in the statement if(data==&#8221;yes&#8221;) in the javascript seems to be blank. when l console.log(&#8220;data:&#8221;+data) the value of the data in firebug i see that<br />
data: is printed before &#8220;yes&#8221;<br />
seems that my callback function is executed before the value passed is taken by the function&#8230;.<br />
some help would be appreciated..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: edi</title>
		<link>http://roshanbh.com.np/2008/04/ajax-login-validation-php-jquery.html/comment-page-3#comment-4803</link>
		<dc:creator>edi</dc:creator>
		<pubDate>Tue, 10 Nov 2009 16:47:14 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/04/ajax-login-validation-php-jquery.html#comment-4803</guid>
		<description>Hello Roshan,
Thx a lot for this code which would be very helpfull. However, I am unable to run your download code properly. The validation always fails and says that login detail sucks even when I try with the good login and password. Do you know how I can fix it? Thx for your help.</description>
		<content:encoded><![CDATA[<p>Hello Roshan,<br />
Thx a lot for this code which would be very helpfull. However, I am unable to run your download code properly. The validation always fails and says that login detail sucks even when I try with the good login and password. Do you know how I can fix it? Thx for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Login With PHP, MySQL, jQuery&#38;Validation &#8211; ???????????????????? PHP &#124;</title>
		<link>http://roshanbh.com.np/2008/04/ajax-login-validation-php-jquery.html/comment-page-3#comment-4793</link>
		<dc:creator>Login With PHP, MySQL, jQuery&#38;Validation &#8211; ???????????????????? PHP &#124;</dc:creator>
		<pubDate>Fri, 06 Nov 2009 15:41:59 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/04/ajax-login-validation-php-jquery.html#comment-4793</guid>
		<description>[...] 2. Ajax login validation system in PHP using jQuery [...]</description>
		<content:encoded><![CDATA[<p>[...] 2. Ajax login validation system in PHP using jQuery [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shaka</title>
		<link>http://roshanbh.com.np/2008/04/ajax-login-validation-php-jquery.html/comment-page-3#comment-4754</link>
		<dc:creator>Shaka</dc:creator>
		<pubDate>Fri, 30 Oct 2009 14:44:07 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/04/ajax-login-validation-php-jquery.html#comment-4754</guid>
		<description>Can this login code be altered to use a text file to store the username/password instead of a database</description>
		<content:encoded><![CDATA[<p>Can this login code be altered to use a text file to store the username/password instead of a database</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: huihui</title>
		<link>http://roshanbh.com.np/2008/04/ajax-login-validation-php-jquery.html/comment-page-3#comment-4700</link>
		<dc:creator>huihui</dc:creator>
		<pubDate>Mon, 19 Oct 2009 04:37:56 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/04/ajax-login-validation-php-jquery.html#comment-4700</guid>
		<description>I found your articles is absolutely useful to me. But I wonder how to apply it into codeIgniter code.
It always stop at checking message box there but without post the username value to user_availability.php page. Any idea of that? Would you mind to show me how to do it? Will be appreciate if someone can help me with that. Thank you very very much.</description>
		<content:encoded><![CDATA[<p>I found your articles is absolutely useful to me. But I wonder how to apply it into codeIgniter code.<br />
It always stop at checking message box there but without post the username value to user_availability.php page. Any idea of that? Would you mind to show me how to do it? Will be appreciate if someone can help me with that. Thank you very very much.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
