<?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: Authentication with PHP/MySQL</title>
	<atom:link href="http://teamtutorials.com/web-development-tutorials/php-tutorials/authentication-with-phpmysql/feed" rel="self" type="application/rss+xml" />
	<link>http://teamtutorials.com/web-development-tutorials/php-tutorials/authentication-with-phpmysql</link>
	<description></description>
	<lastBuildDate>Fri, 20 Nov 2009 10:52:57 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: swetha</title>
		<link>http://teamtutorials.com/web-development-tutorials/php-tutorials/authentication-with-phpmysql/comment-page-1#comment-2993</link>
		<dc:creator>swetha</dc:creator>
		<pubDate>Fri, 19 Jun 2009 11:34:08 +0000</pubDate>
		<guid isPermaLink="false">http://teamtutorials.com/web-development-tutorials/php-tutorials/authentication-with-phpmysql#comment-2993</guid>
		<description>can i have the code to check that the user already exists or not.

i have written code for username and password, gave validations,after login, a welcome page will be displayed, here the details of the user can be entered and after submitting using submit button,it displays &quot;you have successfully entered the details&quot; and then comes logout page</description>
		<content:encoded><![CDATA[<p>can i have the code to check that the user already exists or not.</p>
<p>i have written code for username and password, gave validations,after login, a welcome page will be displayed, here the details of the user can be entered and after submitting using submit button,it displays &#8220;you have successfully entered the details&#8221; and then comes logout page</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Maguire</title>
		<link>http://teamtutorials.com/web-development-tutorials/php-tutorials/authentication-with-phpmysql/comment-page-1#comment-2949</link>
		<dc:creator>Mike Maguire</dc:creator>
		<pubDate>Sat, 13 Jun 2009 16:21:17 +0000</pubDate>
		<guid isPermaLink="false">http://teamtutorials.com/web-development-tutorials/php-tutorials/authentication-with-phpmysql#comment-2949</guid>
		<description>what errors are you getting? Maybe i can help you out a little.</description>
		<content:encoded><![CDATA[<p>what errors are you getting? Maybe i can help you out a little.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Azziej</title>
		<link>http://teamtutorials.com/web-development-tutorials/php-tutorials/authentication-with-phpmysql/comment-page-1#comment-2943</link>
		<dc:creator>Azziej</dc:creator>
		<pubDate>Fri, 12 Jun 2009 13:53:21 +0000</pubDate>
		<guid isPermaLink="false">http://teamtutorials.com/web-development-tutorials/php-tutorials/authentication-with-phpmysql#comment-2943</guid>
		<description>there are a few errors in this tutorial and i miss the logout.php page....</description>
		<content:encoded><![CDATA[<p>there are a few errors in this tutorial and i miss the logout.php page&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kenny</title>
		<link>http://teamtutorials.com/web-development-tutorials/php-tutorials/authentication-with-phpmysql/comment-page-1#comment-2413</link>
		<dc:creator>kenny</dc:creator>
		<pubDate>Sun, 18 Jan 2009 12:11:54 +0000</pubDate>
		<guid isPermaLink="false">http://teamtutorials.com/web-development-tutorials/php-tutorials/authentication-with-phpmysql#comment-2413</guid>
		<description>I have just found you site and excellent tutorials.. 
Just a hint to Gina, you have displayed to the whole web your dbasename, username and password above and your website, so i would suggest changing them if you have nt already. :)</description>
		<content:encoded><![CDATA[<p>I have just found you site and excellent tutorials..<br />
Just a hint to Gina, you have displayed to the whole web your dbasename, username and password above and your website, so i would suggest changing them if you have nt already. <img src='http://teamtutorials.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Spencer</title>
		<link>http://teamtutorials.com/web-development-tutorials/php-tutorials/authentication-with-phpmysql/comment-page-1#comment-1725</link>
		<dc:creator>Spencer</dc:creator>
		<pubDate>Sun, 28 Sep 2008 03:50:47 +0000</pubDate>
		<guid isPermaLink="false">http://teamtutorials.com/web-development-tutorials/php-tutorials/authentication-with-phpmysql#comment-1725</guid>
		<description>You have to have the ; after 
$_SESSION[&#039;valid_user&#039;] = $Email

That is why you are getting the error message.  Then you can troubleshoot the blank page ;)</description>
		<content:encoded><![CDATA[<p>You have to have the ; after<br />
$_SESSION['valid_user'] = $Email</p>
<p>That is why you are getting the error message.  Then you can troubleshoot the blank page <img src='http://teamtutorials.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gina</title>
		<link>http://teamtutorials.com/web-development-tutorials/php-tutorials/authentication-with-phpmysql/comment-page-1#comment-1685</link>
		<dc:creator>Gina</dc:creator>
		<pubDate>Wed, 17 Sep 2008 16:46:45 +0000</pubDate>
		<guid isPermaLink="false">http://teamtutorials.com/web-development-tutorials/php-tutorials/authentication-with-phpmysql#comment-1685</guid>
		<description>If I put a ; after $Email it just displays a blank page</description>
		<content:encoded><![CDATA[<p>If I put a ; after $Email it just displays a blank page</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Ward</title>
		<link>http://teamtutorials.com/web-development-tutorials/php-tutorials/authentication-with-phpmysql/comment-page-1#comment-1681</link>
		<dc:creator>John Ward</dc:creator>
		<pubDate>Tue, 16 Sep 2008 21:04:12 +0000</pubDate>
		<guid isPermaLink="false">http://teamtutorials.com/web-development-tutorials/php-tutorials/authentication-with-phpmysql#comment-1681</guid>
		<description>you forgot a ; after $EMail</description>
		<content:encoded><![CDATA[<p>you forgot a ; after $EMail</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gina</title>
		<link>http://teamtutorials.com/web-development-tutorials/php-tutorials/authentication-with-phpmysql/comment-page-1#comment-1679</link>
		<dc:creator>Gina</dc:creator>
		<pubDate>Tue, 16 Sep 2008 18:50:28 +0000</pubDate>
		<guid isPermaLink="false">http://teamtutorials.com/web-development-tutorials/php-tutorials/authentication-with-phpmysql#comment-1679</guid>
		<description>Trying my code again

session_start();    
  
if (isset($_POST[&#039;Email&#039;]) &amp;&amp; isset($_POST[&#039;password&#039;]))   
{   
$Email = $_POST[&#039;Email&#039;];   
$password = $_POST[&#039;password&#039;];          
  
$conn = mysql_connect (&quot;localhost&quot;, &quot;bollaoil_custome&quot;, &quot;92remotsuc21&quot;) or die(&#039;Cannot connect to the database because: &#039; . mysql_error());
mysql_select_db (&quot;bollaoil_Customers&quot;);

$sql = mysql_query(&quot;select count(*) from customers   
where Email = &#039;$Email&#039; and Password = sha1(&#039;$password&#039;)&quot;) or die(mysql_error());           
  
$results = mysql_result($sql, &quot;0&quot;);      
  
if ($results == 0){   
header( &#039;Location:loginfailed.php&#039;);   
}   
else  
{   
$_SESSION[&#039;valid_user&#039;] = $Email  
header( &#039;Location:http://www.kingscarcare.com/beta1/coupon.php&#039;);
}</description>
		<content:encoded><![CDATA[<p>Trying my code again</p>
<p>session_start();    </p>
<p>if (isset($_POST['Email']) &amp;&amp; isset($_POST['password']))<br />
{<br />
$Email = $_POST['Email'];<br />
$password = $_POST['password'];          </p>
<p>$conn = mysql_connect (&#8221;localhost&#8221;, &#8220;bollaoil_custome&#8221;, &#8220;92remotsuc21&#8243;) or die(&#8217;Cannot connect to the database because: &#8216; . mysql_error());<br />
mysql_select_db (&#8221;bollaoil_Customers&#8221;);</p>
<p>$sql = mysql_query(&#8221;select count(*) from customers<br />
where Email = &#8216;$Email&#8217; and Password = sha1(&#8217;$password&#8217;)&#8221;) or die(mysql_error());           </p>
<p>$results = mysql_result($sql, &#8220;0&#8243;);      </p>
<p>if ($results == 0){<br />
header( &#8216;Location:loginfailed.php&#8217;);<br />
}<br />
else<br />
{<br />
$_SESSION['valid_user'] = $Email<br />
header( &#8216;Location:http://www.kingscarcare.com/beta1/coupon.php&#8217;);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gina</title>
		<link>http://teamtutorials.com/web-development-tutorials/php-tutorials/authentication-with-phpmysql/comment-page-1#comment-1678</link>
		<dc:creator>Gina</dc:creator>
		<pubDate>Tue, 16 Sep 2008 18:49:31 +0000</pubDate>
		<guid isPermaLink="false">http://teamtutorials.com/web-development-tutorials/php-tutorials/authentication-with-phpmysql#comment-1678</guid>
		<description>I&#039;ve used your site before with great results.  Now I&#039;m trying to do this and have scoured my code a dozen times but cannot find why I&#039;m getting this error:

Parse error: syntax error, unexpected T_STRING in cauthenticate.php on line 24

This is my code:
  

Line 24 of my code is 
header( &#039;Location:http://www.kingscarcare.com/beta1/coupon.php&#039;);

I have the semi-colon in place and I&#039;ve triple checked all my brackets and quotes to see if one was left open.  I can&#039;t find the error, can you help!?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve used your site before with great results.  Now I&#8217;m trying to do this and have scoured my code a dozen times but cannot find why I&#8217;m getting this error:</p>
<p>Parse error: syntax error, unexpected T_STRING in cauthenticate.php on line 24</p>
<p>This is my code:</p>
<p>Line 24 of my code is<br />
header( &#8216;Location:http://www.kingscarcare.com/beta1/coupon.php&#8217;);</p>
<p>I have the semi-colon in place and I&#8217;ve triple checked all my brackets and quotes to see if one was left open.  I can&#8217;t find the error, can you help!?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daviduff</title>
		<link>http://teamtutorials.com/web-development-tutorials/php-tutorials/authentication-with-phpmysql/comment-page-1#comment-736</link>
		<dc:creator>Daviduff</dc:creator>
		<pubDate>Sat, 05 Apr 2008 03:28:05 +0000</pubDate>
		<guid isPermaLink="false">http://teamtutorials.com/web-development-tutorials/php-tutorials/authentication-with-phpmysql#comment-736</guid>
		<description>Thanks for sharing. I&#039;ve concerns about mysql_real_escape_string and authentication and try to find if it&#039;s essential to use it. I&#039;ve found something but it&#039;s in french, but the code includes mysql_real_escape_string:

http://www.informatique911.com/prog/authentification-php-mysql.php

Thanks for any help.</description>
		<content:encoded><![CDATA[<p>Thanks for sharing. I&#8217;ve concerns about mysql_real_escape_string and authentication and try to find if it&#8217;s essential to use it. I&#8217;ve found something but it&#8217;s in french, but the code includes mysql_real_escape_string:</p>
<p><a href="http://www.informatique911.com/prog/authentification-php-mysql.php" rel="nofollow">http://www.informatique911.com/prog/authentification-php-mysql.php</a></p>
<p>Thanks for any help.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
