<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-992226187759619576.post7565029402593424572..comments</id><updated>2012-01-21T10:52:16.695+05:30</updated><category term='flash'/><category term='openid'/><category term='Notification'/><category term='Youtube'/><category term='SQL'/><category term='icons'/><category term='Encoding'/><category term='Connection'/><category term='Game'/><category term='Image'/><category term='plug-in'/><category term='Scrolling'/><category term='Delete'/><category term='Windows'/><category term='Advertising'/><category term='Form'/><category term='Web'/><category term='Photoshop'/><category term='Testing'/><category term='base64'/><category term='t-shirt'/><category term='RSS'/><category term='Drag'/><category term='Graphics'/><category term='Nikon'/><category term='Projects'/><category term='List'/><category term='Marketing'/><category term='Flex'/><category term='eclipse'/><category term='Ideas'/><category term='Pagination'/><category term='google plus'/><category term='EC2'/><category term='News'/><category term='Painting'/><category term='Adobe'/><category term='9lessons'/><category term='checkbox'/><category term='jQuery'/><category term='CSS'/><category term='Rails'/><category term='URL'/><category term='Gmail'/><category term='Buttons'/><category term='Design'/><category term='XML'/><category term='Awesome Developer'/><category term='Inspiration'/><category term='SDK'/><category term='Twitter API'/><category term='Smarty'/><category term='Labs'/><category term='Table'/><category term='HTML'/><category term='OOP'/><category term='Payment'/><category term='Drawings'/><category term='Hacking'/><category term='Architecuture'/><category term='Free'/><category term='Upload'/><category term='Jsp'/><category term='google'/><category term='Geo'/><category term='Twitter'/><category term='javascript'/><category term='Email'/><category term='OAuth'/><category term='Technology'/><category term='Iphone'/><category term='Captcha'/><category term='Regular_Expressions'/><category term='Mysql'/><category term='Photos'/><category term='Wallpaper'/><category term='Logos'/><category term='Ajax'/><category term='Tutorials'/><category term='Programming'/><category term='Compute'/><category term='Fanpage'/><category term='Videos'/><category term='Drop'/><category term='Clone'/><category term='SMTP'/><category term='Hosting'/><category term='Blackberry'/><category term='Resources'/><category term='Chrome'/><category term='Language'/><category term='amazon'/><category term='Function'/><category term='Framework'/><category term='Scripts'/><category term='Smartphone'/><category term='Curl'/><category term='JSON'/><category term='Websites'/><category term='Facebook'/><category term='Yahoo'/><category term='Concepts'/><category term='Application'/><category term='MooTools'/><category term='Realistic'/><category term='Cloud'/><category term='HTML5'/><category term='Mail'/><category term='Mobile'/><category term='Reports'/><category term='php'/><category term='Spread Sheet'/><category term='Cropping'/><category term='Extension'/><category term='Wall'/><category term='WebDesign'/><category term='Popular'/><category term='Search'/><category term='Java'/><category term='Air'/><category term='API'/><category term='jQueryBasics'/><category term='Edit'/><category term='Extention'/><category term='Bing'/><category term='Browser'/><category term='blogger'/><category term='SEO'/><category term='Ruby'/><category term='CSS3'/><category term='Database'/><category term='Validation'/><category term='C prorgramming'/><category term='Object-oriented'/><category term='Update'/><category term='Foreign'/><category term='htaccess'/><category term='Paypal'/><category term='Rewriting'/><category term='TED'/><category term='Bug Tracking'/><category term='profile'/><category term='Login'/><title type='text'>Comments on 9lessons Programming Blog: PHP Login Script with Encryption.</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.9lessons.info/feeds/7565029402593424572/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default?start-index=26&amp;max-results=25'/><author><name>Srinivas Tamada</name><uri>http://www.blogger.com/profile/17418084732618477326</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-7w94UgQpyNg/ThansTGlhtI/AAAAAAAAEs4/hVW2tEEVihw/s1600/avatar.php%253Fgravatar_id%253D7a9e87053519e0e7a21bb69d1deb6dfe'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>31</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-294861686120401486</id><published>2012-01-21T01:21:18.912+05:30</published><updated>2012-01-21T01:21:18.912+05:30</updated><title type='text'>This don&amp;#39;t work. I&amp;#39;ve tried evrything. Whe...</title><content type='html'>This don&amp;#39;t work. I&amp;#39;ve tried evrything. When i&amp;#39;ve put the codes fom Welcome.php into my index.php it gives me this error; Parse error: syntax error, unexpected T_STRING, expecting &amp;#39;(&amp;#39; in /home/srkiller/public_html/s/index.php on line 5 &lt;br /&gt;&lt;br /&gt;+ Where do i change password+username, because when i enter somthing on login.php it come this; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/srkiller/public_html/s/login.php on line 16&lt;br /&gt;&lt;br /&gt;Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/srkiller/public_html/s/login.php on line 19</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/294861686120401486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/294861686120401486'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html?showComment=1327089078912#c294861686120401486' title=''/><author><name>Ardian</name><uri>http://pshb.net</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-7565029402593424572' source='http://www.blogger.com/feeds/992226187759619576/posts/default/7565029402593424572' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1504754950'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-5757646076503134714</id><published>2011-10-05T00:37:38.122+05:30</published><updated>2011-10-05T00:37:38.122+05:30</updated><title type='text'>Change this in registry file

$password=md5($passw...</title><content type='html'>Change this in registry file&lt;br /&gt;&lt;br /&gt;$password=md5($password); // Encrypted Password&lt;br /&gt;&lt;br /&gt;to&lt;br /&gt;&lt;br /&gt;$salt1 = &amp;quot;18gI%f5A&amp;quot;;&lt;br /&gt;$salt2 = &amp;quot;@Y4p91bN&amp;quot;;&lt;br /&gt;$password = md5($salt1.$password.$salt2);</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/5757646076503134714'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/5757646076503134714'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html?showComment=1317755258122#c5757646076503134714' title=''/><author><name>Bobby</name><uri>http://zonemedia.se</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-7565029402593424572' source='http://www.blogger.com/feeds/992226187759619576/posts/default/7565029402593424572' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1005529876'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-1523749802084107813</id><published>2011-07-12T23:23:38.734+05:30</published><updated>2011-07-12T23:23:38.734+05:30</updated><title type='text'>Hi, Srinivas the registration is ok. but the login...</title><content type='html'>Hi, Srinivas the registration is ok. but the login not go to my page welcome. please tell me how do it. I look it but tell me more please http://www.9lessons.info/2009/09/php-login-page-example.html</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/1523749802084107813'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/1523749802084107813'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html?showComment=1310493218734#c1523749802084107813' title=''/><author><name>MiGuE</name><uri>http://www.blogger.com/profile/09432825009837327522</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-7565029402593424572' source='http://www.blogger.com/feeds/992226187759619576/posts/default/7565029402593424572' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1828595880'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-7160006032399684202</id><published>2011-03-21T16:36:51.473+05:30</published><updated>2011-03-21T16:36:51.473+05:30</updated><title type='text'>hi srinivas really very  good link 
thanks lot</title><content type='html'>hi srinivas really very  good link &lt;br /&gt;thanks lot</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/7160006032399684202'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/7160006032399684202'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html?showComment=1300705611473#c7160006032399684202' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-7565029402593424572' source='http://www.blogger.com/feeds/992226187759619576/posts/default/7565029402593424572' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1652673594'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-5931283062164807742</id><published>2011-03-07T10:43:15.368+05:30</published><updated>2011-03-07T10:43:15.368+05:30</updated><title type='text'>nice</title><content type='html'>nice</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/5931283062164807742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/5931283062164807742'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html?showComment=1299474795368#c5931283062164807742' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-7565029402593424572' source='http://www.blogger.com/feeds/992226187759619576/posts/default/7565029402593424572' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-139645208'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-4595317697144578902</id><published>2010-08-20T18:23:55.309+05:30</published><updated>2010-08-20T18:23:55.309+05:30</updated><title type='text'>@josea

http://www.9lessons.info/2009/09/php-login...</title><content type='html'>@josea&lt;br /&gt;&lt;br /&gt;http://www.9lessons.info/2009/09/php-login-page-example.html</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/4595317697144578902'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/4595317697144578902'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html?showComment=1282308835309#c4595317697144578902' title=''/><author><name>Srinivas Tamada</name><uri>http://www.blogger.com/profile/17418084732618477326</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://3.bp.blogspot.com/_N9kpbq3FL74/TF7qiLrW6jI/AAAAAAAAD-I/S1e6RJP4dE0/S220/photo.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-7565029402593424572' source='http://www.blogger.com/feeds/992226187759619576/posts/default/7565029402593424572' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-161025174'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-8074701189620402556</id><published>2010-08-20T17:57:52.302+05:30</published><updated>2010-08-20T17:57:52.302+05:30</updated><title type='text'>hey how to do with session?? and needed to destroy...</title><content type='html'>hey how to do with session?? and needed to destroy</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/8074701189620402556'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/8074701189620402556'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html?showComment=1282307272302#c8074701189620402556' title=''/><author><name>josea</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-7565029402593424572' source='http://www.blogger.com/feeds/992226187759619576/posts/default/7565029402593424572' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2101504927'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-8185236253282433357</id><published>2010-04-16T03:55:29.640+05:30</published><updated>2010-04-16T03:55:29.640+05:30</updated><title type='text'>Hey,

Great script and works perfectly. Thanks so ...</title><content type='html'>Hey,&lt;br /&gt;&lt;br /&gt;Great script and works perfectly. Thanks so very very much!  I searched and searched and tried others and none worked but this one!!!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/8185236253282433357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/8185236253282433357'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html?showComment=1271370329640#c8185236253282433357' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-7565029402593424572' source='http://www.blogger.com/feeds/992226187759619576/posts/default/7565029402593424572' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1540056409'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-2526432526652054051</id><published>2010-04-01T20:48:15.248+05:30</published><updated>2010-04-01T20:48:15.248+05:30</updated><title type='text'>thats easy but there is no session cookie/remember...</title><content type='html'>thats easy but there is no session cookie/remember me feature&lt;br /&gt;&lt;br /&gt;next update you consider it</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/2526432526652054051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/2526432526652054051'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html?showComment=1270135095248#c2526432526652054051' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-7565029402593424572' source='http://www.blogger.com/feeds/992226187759619576/posts/default/7565029402593424572' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1832612655'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-4823603597879865247</id><published>2010-03-01T15:35:38.550+05:30</published><updated>2010-03-01T15:35:38.550+05:30</updated><title type='text'>thanx nice script i use my web site login but char...</title><content type='html'>thanx nice script i use my web site login but char(50) why md5  = 32 char ?????</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/4823603597879865247'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/4823603597879865247'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html?showComment=1267437938550#c4823603597879865247' title=''/><author><name>fare</name><uri>http://www.sibelilaclama.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-7565029402593424572' source='http://www.blogger.com/feeds/992226187759619576/posts/default/7565029402593424572' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1108659813'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-362013869209576349</id><published>2010-02-19T11:52:47.227+05:30</published><updated>2010-02-19T11:52:47.227+05:30</updated><title type='text'>Using the crypt function in PHP to encrypt  passwo...</title><content type='html'>Using the crypt function in PHP to encrypt  passwords and other data and keep them safe.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/362013869209576349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/362013869209576349'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html?showComment=1266560567227#c362013869209576349' title=''/><author><name>PHP Developer India</name><uri>http://www.datatechmedia.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-7565029402593424572' source='http://www.blogger.com/feeds/992226187759619576/posts/default/7565029402593424572' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2054771297'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-6459178019920781209</id><published>2010-02-11T19:41:59.682+05:30</published><updated>2010-02-11T19:41:59.682+05:30</updated><title type='text'>Lol, why use 50 bytes for password hash
---
passco...</title><content type='html'>Lol, why use 50 bytes for password hash&lt;br /&gt;---&lt;br /&gt;passcode VARCHAR(50)&lt;br /&gt;---&lt;br /&gt;when md5 always produces hash of the fixed 32-char width? Also, hashing without salt is one of the worst examples you can provide for beginners. &lt;br /&gt;&lt;br /&gt;*Not recommended until rewrite and update.*</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/6459178019920781209'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/6459178019920781209'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html?showComment=1265897519682#c6459178019920781209' title=''/><author><name>Dave Bowman</name><uri>http://wave.google.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-7565029402593424572' source='http://www.blogger.com/feeds/992226187759619576/posts/default/7565029402593424572' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-944028918'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-7902754516797231474</id><published>2010-02-10T14:26:46.634+05:30</published><updated>2010-02-10T14:26:46.634+05:30</updated><title type='text'>This is a good example for a First Step in a Tutor...</title><content type='html'>This is a good example for a First Step in a Tutorial but for a secure and encrypted php login there are more things needed.&lt;br /&gt;&lt;br /&gt;e.g.: http://xkcd.com/327/</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/7902754516797231474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/7902754516797231474'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html?showComment=1265792206634#c7902754516797231474' title=''/><author><name>kozi</name><uri>http://kozianka-online.de</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-7565029402593424572' source='http://www.blogger.com/feeds/992226187759619576/posts/default/7565029402593424572' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1477588032'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-1246823524185786726</id><published>2010-02-10T13:11:48.671+05:30</published><updated>2010-02-10T13:11:48.671+05:30</updated><title type='text'>Do NOT use simple md5!
Check out my password hashi...</title><content type='html'>Do NOT use simple md5!&lt;br /&gt;Check out my password hashing class with salt and random iterations:&lt;br /&gt;http://juliusbeckmann.de/blog/php-easy-and-secure-password-hashing-class.html</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/1246823524185786726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/1246823524185786726'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html?showComment=1265787708671#c1246823524185786726' title=''/><author><name>Julius Beckmann</name><uri>http://juliusbeckmann.de/blog/</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-7565029402593424572' source='http://www.blogger.com/feeds/992226187759619576/posts/default/7565029402593424572' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1039718135'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-7948017592767957111</id><published>2010-02-10T08:24:51.931+05:30</published><updated>2010-02-10T08:24:51.931+05:30</updated><title type='text'>I think you need also to secure the communication ...</title><content type='html'>I think you need also to secure the communication line between user browser and your server using HTTPS so when user click login button data transfered in encrypted format.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/7948017592767957111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/7948017592767957111'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html?showComment=1265770491931#c7948017592767957111' title=''/><author><name>RIzky Rukmana</name><uri>http://rizzblow.blogspot.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-7565029402593424572' source='http://www.blogger.com/feeds/992226187759619576/posts/default/7565029402593424572' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1701968347'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-3890247828361614914</id><published>2010-02-10T06:11:18.867+05:30</published><updated>2010-02-10T06:11:18.867+05:30</updated><title type='text'>If you can read Spanish, you will find a good post...</title><content type='html'>If you can read Spanish, you will find a good post about PHP´s login system on this Blog:&lt;br /&gt;http://www.juangiordana.com.ar/blog/2006/11/28/php-login-script/&lt;br /&gt;&lt;br /&gt;Regards</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/3890247828361614914'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/3890247828361614914'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html?showComment=1265762478867#c3890247828361614914' title=''/><author><name>Mauricio Dottavio</name><uri>http://www.dottavio.com.ar</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-7565029402593424572' source='http://www.blogger.com/feeds/992226187759619576/posts/default/7565029402593424572' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1954293498'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-1392878011184407570</id><published>2010-02-09T23:18:09.285+05:30</published><updated>2010-02-09T23:18:09.285+05:30</updated><title type='text'>Thank you.  This is really nice for a PHP learner ...</title><content type='html'>Thank you.  This is really nice for a PHP learner like me.  The critics should realize that anyone can enhance or extend your script based on their levels of expertise.&lt;br /&gt;&lt;br /&gt;Keep the scripts coming!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/1392878011184407570'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/1392878011184407570'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html?showComment=1265737689285#c1392878011184407570' title=''/><author><name>Dave</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-7565029402593424572' source='http://www.blogger.com/feeds/992226187759619576/posts/default/7565029402593424572' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-847773180'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-2163892242460801295</id><published>2010-02-09T20:52:42.427+05:30</published><updated>2010-02-09T20:52:42.427+05:30</updated><title type='text'>Salt! 

I was also mislead by the word &amp;quot;encry...</title><content type='html'>Salt! &lt;br /&gt;&lt;br /&gt;I was also mislead by the word &amp;quot;encryption.&amp;quot; &lt;br /&gt;Good simple script though.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/2163892242460801295'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/2163892242460801295'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html?showComment=1265728962427#c2163892242460801295' title=''/><author><name>Stan</name><uri>http://stanistan.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-7565029402593424572' source='http://www.blogger.com/feeds/992226187759619576/posts/default/7565029402593424572' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-829233974'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-5294091674479753811</id><published>2010-02-09T20:41:48.083+05:30</published><updated>2010-02-09T20:41:48.083+05:30</updated><title type='text'>As others have said using MD5 alone is not encrypt...</title><content type='html'>As others have said using MD5 alone is not encryption, it&amp;#39;s simply hashing. This method is very insecure if your database were to become vulnerable.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/5294091674479753811'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/5294091674479753811'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html?showComment=1265728308083#c5294091674479753811' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-7565029402593424572' source='http://www.blogger.com/feeds/992226187759619576/posts/default/7565029402593424572' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-128509113'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-4539130926361474767</id><published>2010-02-09T20:38:10.121+05:30</published><updated>2010-02-09T20:38:10.121+05:30</updated><title type='text'>@anon, he is using mysql_real_escape_string to san...</title><content type='html'>@anon, he is using mysql_real_escape_string to sanitize for mysql and is NOT echoing the POST values back to the form, there isn&amp;#39;t a strict need to htmlentities or strip tags if you are not echoing the data back to your page.&lt;br /&gt;&lt;br /&gt;Still point taken, I sanitize all get and post data out of habit/paranoia.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/4539130926361474767'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/4539130926361474767'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html?showComment=1265728090121#c4539130926361474767' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-7565029402593424572' source='http://www.blogger.com/feeds/992226187759619576/posts/default/7565029402593424572' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1924677450'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-6841274834991386202</id><published>2010-02-09T20:13:11.616+05:30</published><updated>2010-02-09T20:13:11.616+05:30</updated><title type='text'>This is pretty good, but we should note two things...</title><content type='html'>This is pretty good, but we should note two things:&lt;br /&gt;1. This isn&amp;#39;t encryption, it&amp;#39;s hashing.&lt;br /&gt;2. It would be even better to salt the hash. For more information on salting database hashes, consult Google.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/6841274834991386202'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/6841274834991386202'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html?showComment=1265726591616#c6841274834991386202' title=''/><author><name>Rocky1138</name><uri>https://me.yahoo.com/a/wBkQDL16wPYL10Onx8BNMbqIz0BNeEYlQutA</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/openid16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-7565029402593424572' source='http://www.blogger.com/feeds/992226187759619576/posts/default/7565029402593424572' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-365334793'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-4189202071271071570</id><published>2010-02-09T19:09:02.759+05:30</published><updated>2010-02-09T19:09:02.759+05:30</updated><title type='text'>you don&amp;#39;t check POST submitted data for vulner...</title><content type='html'>you don&amp;#39;t check POST submitted data for vulnerabilities, that will create major security holes</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/4189202071271071570'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/4189202071271071570'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html?showComment=1265722742759#c4189202071271071570' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-7565029402593424572' source='http://www.blogger.com/feeds/992226187759619576/posts/default/7565029402593424572' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1748793263'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-4493752029266611987</id><published>2010-02-09T17:54:39.017+05:30</published><updated>2010-02-09T17:54:39.017+05:30</updated><title type='text'>Thank you srinu nice tip,
I want to encrypted pass...</title><content type='html'>Thank you srinu nice tip,&lt;br /&gt;I want to encrypted password to decrypt , is that possible in php, i want to use in forgot password page.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/4493752029266611987'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/4493752029266611987'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html?showComment=1265718279017#c4493752029266611987' title=''/><author><name>Anil Kumar Panigrahi</name><uri>http://www.anil2u.info</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-7565029402593424572' source='http://www.blogger.com/feeds/992226187759619576/posts/default/7565029402593424572' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-141816400'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-5678647402510005875</id><published>2010-02-08T23:47:16.606+05:30</published><updated>2010-02-08T23:47:16.606+05:30</updated><title type='text'>спасибо за подсказку! thanks !</title><content type='html'>спасибо за подсказку! thanks !</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/5678647402510005875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/5678647402510005875'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html?showComment=1265653036606#c5678647402510005875' title=''/><author><name>Agudo</name><uri>http://agudo.ru</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-7565029402593424572' source='http://www.blogger.com/feeds/992226187759619576/posts/default/7565029402593424572' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-820645362'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-4753177953967034472</id><published>2010-02-08T07:50:27.698+05:30</published><updated>2010-02-08T07:50:27.698+05:30</updated><title type='text'>use salt..</title><content type='html'>use salt..</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/4753177953967034472'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/7565029402593424572/comments/default/4753177953967034472'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html?showComment=1265595627698#c4753177953967034472' title=''/><author><name>aizuddinmanap</name><uri>http://aizuddinmanap.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/02/php-login-script-with-encryption.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-7565029402593424572' source='http://www.blogger.com/feeds/992226187759619576/posts/default/7565029402593424572' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1272311625'/></entry></feed>
