<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Codrops &#187; loginsystem</title>
	<atom:link href="http://tympanus.net/codrops/tag/loginsystem/feed/" rel="self" type="application/rss+xml" />
	<link>http://tympanus.net/codrops</link>
	<description>Useful resources and inspiration for creative minds</description>
	<lastBuildDate>Wed, 23 May 2012 09:46:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>PHP Login System Reloaded v1.1</title>
		<link>http://tympanus.net/codrops/2009/09/16/php-login-system-reloaded-v1-1/</link>
		<comments>http://tympanus.net/codrops/2009/09/16/php-login-system-reloaded-v1-1/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 23:48:30 +0000</pubDate>
		<dc:creator>chadking</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[loginsystem]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[user management]]></category>

		<guid isPermaLink="false">http://tympanus.net/codrops/?p=510</guid>
		<description><![CDATA[Here&#8217;s an updated version of the PHP Login System. You can check the old version here. The following was added: 1. Registration fields: email confirmation password confirmation country recaptcha Email confirmation and password confirmation are configurable fields. By default they are shown, but if you wish to remove one or both of them you have [...]]]></description>
			<content:encoded><![CDATA[<p><!-- google_ad_section_start --><br />
<img class="alignnone size-full wp-image-511" title="PHP Login System" src="http://tympanus.net/codrops/wp-content/uploads/2009/09/loginsystem.png" alt="PHP Login System" width="500" height="337" /></p>
<p>Here&#8217;s an updated version of the PHP Login System. You can check the old version <a href="http://tympanus.net/codrops/2009/09/03/php-login-system-reloaded/" target="_blank">here</a>.</p>
<p>The following was added:</p>
<p><span id="more-510"></span></p>
<p><strong>1. Registration fields:</strong></p>
<ul>
<li>email confirmation</li>
<li>password confirmation</li>
<li>country</li>
<li>recaptcha</li>
</ul>
<p>Email confirmation and password confirmation are configurable fields. By default they are shown, but if you wish to remove one or both of them you have to set it in the file constants.php:</p>
<p><code>define("REPEAT_EMAIL",true);<br />
define("REPEAT_PASSWORD",true);</code></p>
<p><strong>2. Table fields:</strong></p>
<ul>
<li>the user ip,</li>
<li>number of logins of a user,</li>
<li>flag is_admin</li>
<li>flag is_blocked</li>
<li>new table &#8211; Country table</li>
</ul>
<p><strong>3. dbcontroller class sanitizes user input data</strong></p>
<p><strong>4. Edit Account Area</strong></p>
<p><strong>5. Admin Area &#8211; incomplete (for next version)</strong></p>
<p>For now just the list of users is shown and a world map indicating where the users come from.  You can delete Users and set them as Admins. If there are no users to list, no map is shown. Also the User seeing the panel is not shown.<br />
Note that in the demo you will not be able to see the admin part &#8211; for admin reasons :)</p>
<p><strong>6. New CSS</strong></p>
<p><strong>7. Some other small details in the php code.</strong></p>
<p>For the next version I am planning to :</p>
<ul>
<li>add all admin functions</li>
<li>improve and improve &#8230;.</li>
</ul>
<p>To use the recaptcha you need to get a public/private key <a href="https://admin.recaptcha.net/accounts/login/?next=/recaptcha/createsite/" target="_blank">here </a>. Then you need to define them in constants.php:</p>
<p><code>define("PUBLICKEY","XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");<br />
define("PRIVATEKEY","XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");</code></p>
<p>In order to use the demo for those who have registered in the previous version&#8217;s demo, you need to register again (in the demo login system), since I had to set up another database for it.</p>
<p>Hope you like it. Any suggestions or improvements are welcome!</p>
<p><a href="http://tympanus.net/loginsystem2/public_html/index.php" target="_blank">DEMO</a></p>
<p>Download the source code <a href="http://tympanus.net/codrops/wp-content/uploads/2009/09/loginsystem1_1.zip">here</a></p>
<p><div id="bsap_1266918" class="bsarocks bsap_af25dfd2f1908889af7a1aa5f4dcbd9e"></div><div style="clear:both;"></div><br />
<br/><br/><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://tympanus.net/codrops/2009/09/16/php-login-system-reloaded-v1-1/feed/</wfw:commentRss>
		<slash:comments>287</slash:comments>
		</item>
		<item>
		<title>PHP Login System Reloaded</title>
		<link>http://tympanus.net/codrops/2009/09/03/php-login-system-reloaded/</link>
		<comments>http://tympanus.net/codrops/2009/09/03/php-login-system-reloaded/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 20:49:41 +0000</pubDate>
		<dc:creator>chadking</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[loginsystem]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[php5]]></category>

		<guid isPermaLink="false">http://tympanus.net/codrops/?p=214</guid>
		<description><![CDATA[Update: There&#8217;s a new version of this Login Script. Here&#8217;s a PHP Login System, based on the one developed by jpmaster77: PHP Login System with Admin Features Focusing only on the core functionalities and aimed to improve certain parts of the code, I took out some functionalities and added some others: Removed: Admin features Active [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update</strong>: <strong>There&#8217;s a</strong> <a href="http://tympanus.net/codrops/2009/09/16/php-login-system-reloaded-v1-1/" target="_blank">new version</a> <strong>of this Login Script.</strong></p>
<p>Here&#8217;s a PHP Login System, based on the one developed by jpmaster77: <a href="http://www.evolt.org/node/60384" target="_blank">PHP Login System with Admin Features</a><br />
Focusing only on the core functionalities and aimed to improve certain parts of the code, I took out some functionalities and added some others:</p>
<p><strong><span id="more-214"></span>Removed:</strong></p>
<ul>
<li>Admin features</li>
<li>Active guests, active users, banned users</li>
<li>Global variables</li>
<li>Links to other pages after the login</li>
</ul>
<p>All these can be easily reintegrated if you want. I focused on the login and registration part, leaving out the content &#8220;inside&#8221;.</p>
<p><strong>Added:</strong></p>
<ul>
<li>PHP 5 instead of PHP 4</li>
<li>mysqli extension</li>
<li>Send registration confirmation link to the email address</li>
<li>Reset password feature without sending password to the email. Instead a link is sent to reset the password</li>
<li>UTF8 support</li>
<li>InnoDB transactions for database operations</li>
<li>Registration and form validations made with AJAX</li>
<li>jQuery</li>
<li>Captcha image in registration form to avoid spam</li>
</ul>
<p>Here are the most important settings for the installation of the login system.<br />
Set database access in <strong>constants.php</strong>:</p>
<pre class="brush: php">define("DB_SERVER", "localhost");	//type mysql server url
define("DB_USER", "XXXXXXX");		//type mysql user
define("DB_PASS", "XXXXXXX");		//type mysql password
define("DB_NAME", "XXXXXXX");		//type mysql database name</pre>
<p>Further, you have to set the right location of the following files for the mail sending functions:</p>
<pre class="brush: php">define("RESETPASSWORDLINK","http://www.tympanus.net/loginsystem/resetpassword.php");
define("CONFIRMACCOUNTLINK","http://www.tympanus.net/loginsystem/php/confirm.php");</pre>
<p>The only table that you have to create in your MySQL database is the following:</p>
<pre class="brush: sql">CREATE TABLE users(
pk_user int unsigned not null auto_increment,
email 	varchar(120) not null,
flname varchar(100) not null,
password varchar(64) not null,
usr_signup_date timestamp not null default CURRENT_TIMESTAMP,
usr_userid varchar(32),
# for the account confirmation:
usr_confirm_hash varchar(255) not null,
# after confirming its set to 1:
usr_is_confirmed tinyint(1) not null default 0,
# when the user resets password (forgot password):
usr_resetpassword_hash varchar(255) not null,
unique index(email),
primary key(pk_user)
)type=innodb DEFAULT CHARACTER SET utf8	COLLATE utf8_general_ci;</pre>
<p>I will soon post a new version, as I am currently improving some points.</p>
<p>See a demo here: <a href="http://tympanus.net/loginsystem/public_html/" target="_blank">PHP Login System Demo</a></p>
<p>You can download the source code here: <a href="http://tympanus.net/codrops/wp-content/uploads/2009/09/loginsystem.zip">PHP Login System ZIP</a></p>
<p><!--table border="1" cellspacing="0" cellpadding="0" width="165" align="center" bordercolor="black"></p>
<tbody>
<tr>
<td align="center"><a href="http://www.scriptdungeon.com"><img src="http://www.scriptdungeon.com/images/scriptdungeonsm.jpg" border="0" alt="Free ASP, PHP, Java Script, Tools and Utilities" /></a></td>
</tr>
<tr>
<td align="center" bgcolor="white"><a style="text-decoration: none" href="http://www.scriptdungeon.com"><span style="font-family: Tahoma; font-size: 9pt; color:#FF6600;">Free ASP, PHP, Java scripts<br />
Tools and Utilities</span></a></td>
</tr>
</tbody>
</table-->
<div id="bsap_1266918" class="bsarocks bsap_af25dfd2f1908889af7a1aa5f4dcbd9e"></div><div style="clear:both;"></div>
]]></content:encoded>
			<wfw:commentRss>http://tympanus.net/codrops/2009/09/03/php-login-system-reloaded/feed/</wfw:commentRss>
		<slash:comments>71</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  tympanus.net/codrops/tag/loginsystem/feed/ ) in 0.19880 seconds, on May 23rd, 2012 at 2:44 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on May 23rd, 2012 at 3:44 pm UTC -->
