<?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: Creating a Facebook-like Registration Form with jQuery</title>
	<atom:link href="http://tutorialzine.com/2009/08/creating-a-facebook-like-registration-form-with-jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://tutorialzine.com/2009/08/creating-a-facebook-like-registration-form-with-jquery/</link>
	<description>Web Development Tutorials &#38; Resources</description>
	<lastBuildDate>Thu, 23 May 2013 03:26:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: shaun</title>
		<link>http://tutorialzine.com/2009/08/creating-a-facebook-like-registration-form-with-jquery/#comment-40885</link>
		<dc:creator>shaun</dc:creator>
		<pubDate>Thu, 02 Aug 2012 07:04:25 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=297#comment-40885</guid>
		<description><![CDATA[swapnil,

FYI, you need to add a semicolon after each &quot;if&quot; statement on submit.php.

Shaun]]></description>
		<content:encoded><![CDATA[<p>swapnil,</p>
<p>FYI, you need to add a semicolon after each &quot;if&quot; statement on submit.php.</p>
<p>Shaun</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: swapnil</title>
		<link>http://tutorialzine.com/2009/08/creating-a-facebook-like-registration-form-with-jquery/#comment-30647</link>
		<dc:creator>swapnil</dc:creator>
		<pubDate>Sun, 17 Jun 2012 14:42:40 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=297#comment-30647</guid>
		<description><![CDATA[Hey,
I m not able to add the fields into my database.
Where should i write the code for getting the field values in the variables.

If i type echo into submit.php it keeps on loading only.

If i write it in register.php then the post values arent fetched!]]></description>
		<content:encoded><![CDATA[<p>Hey,<br />
I m not able to add the fields into my database.<br />
Where should i write the code for getting the field values in the variables.</p>
<p>If i type echo into submit.php it keeps on loading only.</p>
<p>If i write it in register.php then the post values arent fetched!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aftermath</title>
		<link>http://tutorialzine.com/2009/08/creating-a-facebook-like-registration-form-with-jquery/#comment-23420</link>
		<dc:creator>Aftermath</dc:creator>
		<pubDate>Sat, 21 Apr 2012 07:53:35 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=297#comment-23420</guid>
		<description><![CDATA[Thank you Martin for your time writing such a great tutorial. Much appreciated.
I have a question, I try to prevent user from directly execute submit.php.

http://demo.tutorialzine.com/2009/08/creating-a-facebook-like-registration-form-with-jquery/submit.php

by adding this code at the top of submit.php: 

&lt;pre&gt;
if(!isset($_POST[&#039;submit&#039;])){
 header(&#039;Location: index.php&#039;);
}
&lt;/pre&gt;

It redirects user to index.php if he/she executes the submit.php from the browser.
It&#039;s working fine but when I click signup button the form keep showing processing image. How to fix it?. Thanks.]]></description>
		<content:encoded><![CDATA[<p>Thank you Martin for your time writing such a great tutorial. Much appreciated.<br />
I have a question, I try to prevent user from directly execute submit.php.</p>
<p>http://demo.tutorialzine.com/2009/08/creating-a-facebook-like-registration-form-with-jquery/submit.php</p>
<p>by adding this code at the top of submit.php: </p>
<pre>
if(!isset($_POST['submit'])){
 header('Location: index.php');
}
</pre>
<p>It redirects user to index.php if he/she executes the submit.php from the browser.<br />
It's working fine but when I click signup button the form keep showing processing image. How to fix it?. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Vincent</title>
		<link>http://tutorialzine.com/2009/08/creating-a-facebook-like-registration-form-with-jquery/#comment-23390</link>
		<dc:creator>Mark Vincent</dc:creator>
		<pubDate>Thu, 19 Apr 2012 09:28:18 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=297#comment-23390</guid>
		<description><![CDATA[Hi! It&#039;s great but i have notice something in the birthday part. in facebook, the number of days change depending on what month and year. example, if the month is february, the number of days will only be 29 and not 31 and if the year is not a leap year, the number of days in the month of february will become 28. Will you teach me on how to do that? I&#039;ll wait for your reply in my mail.]]></description>
		<content:encoded><![CDATA[<p>Hi! It's great but i have notice something in the birthday part. in facebook, the number of days change depending on what month and year. example, if the month is february, the number of days will only be 29 and not 31 and if the year is not a leap year, the number of days in the month of february will become 28. Will you teach me on how to do that? I'll wait for your reply in my mail.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RobNHood63</title>
		<link>http://tutorialzine.com/2009/08/creating-a-facebook-like-registration-form-with-jquery/#comment-21572</link>
		<dc:creator>RobNHood63</dc:creator>
		<pubDate>Tue, 17 Jan 2012 04:59:57 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=297#comment-21572</guid>
		<description><![CDATA[You shouldn&#039;t use mysql_real_escape_string directly on the $_POST variable unless a connection to the database has already been established it needs to be linked to your database function. One way is to return a link_id from your connect function which I see is also not there. An example would be $link_id = mysql_connect ($server,$username,$password) then select database mysql_select_db ($database_name,$link_id ) escape your data $email = mysql_real_escape_string($_POST[&#039;email&#039;],$link_id);
query database  mysql_query(&quot;SELECT * FROM `users` WHERE username = &#039;$email&#039;&quot;) then check mysql_affected_rows($link_id) for the count returned by the query. You can ommit the $link_id on the mysql functions but you still need to connect to the database before you can use them including any escaping of input.]]></description>
		<content:encoded><![CDATA[<p>You shouldn't use mysql_real_escape_string directly on the $_POST variable unless a connection to the database has already been established it needs to be linked to your database function. One way is to return a link_id from your connect function which I see is also not there. An example would be $link_id = mysql_connect ($server,$username,$password) then select database mysql_select_db ($database_name,$link_id ) escape your data $email = mysql_real_escape_string($_POST['email'],$link_id);<br />
query database  mysql_query("SELECT * FROM `users` WHERE username = '$email'") then check mysql_affected_rows($link_id) for the count returned by the query. You can ommit the $link_id on the mysql functions but you still need to connect to the database before you can use them including any escaping of input.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RobNHood63</title>
		<link>http://tutorialzine.com/2009/08/creating-a-facebook-like-registration-form-with-jquery/#comment-21567</link>
		<dc:creator>RobNHood63</dc:creator>
		<pubDate>Mon, 16 Jan 2012 23:46:17 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=297#comment-21567</guid>
		<description><![CDATA[You mentioned the fact that because Facebook uses tables it wins it for you. However I disagree. Zuckerberg may be a genius when it comes down to marketing but the pages of Facebook is so riddled with erorrs and bad programming it renders the fact that whatever Facebook conciders good practice is isually the opposite. No one is happy with the way Facebook looks, it&#039;s appearance is bland to say the least. Yet it hardly ever functions properly due to the countless errors on the pages. Zuckerberg  is more interested in turning a profit than what his users think.]]></description>
		<content:encoded><![CDATA[<p>You mentioned the fact that because Facebook uses tables it wins it for you. However I disagree. Zuckerberg may be a genius when it comes down to marketing but the pages of Facebook is so riddled with erorrs and bad programming it renders the fact that whatever Facebook conciders good practice is isually the opposite. No one is happy with the way Facebook looks, it's appearance is bland to say the least. Yet it hardly ever functions properly due to the countless errors on the pages. Zuckerberg  is more interested in turning a profit than what his users think.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Punit</title>
		<link>http://tutorialzine.com/2009/08/creating-a-facebook-like-registration-form-with-jquery/#comment-20986</link>
		<dc:creator>Punit</dc:creator>
		<pubDate>Thu, 15 Dec 2011 14:13:19 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=297#comment-20986</guid>
		<description><![CDATA[nice tutorial as always martin, but i have a question
i need to check for email availability in this form for this i add these lines of code in the submit.php

&lt;pre&gt;

if(isset($_POST[&#039;email&#039;]))
{
	$email = mysql_real_escape_string($_POST[&#039;email&#039;]);
	//if(!empty($email))
	//{	
		require (&quot;db.php&quot;);
		$username_query = mysql_query(&quot;SELECT COUNT(`user_id`) FROM `users` WHERE `username` = &#039;$email&#039;&quot;);
		 $username_result = mysql_result($username_query, 0);
		 if($username_result == 0){

			die(msg(1,&quot;Emails is available.&quot;));
		 }
		 else if($username_result == 1)

			die(msg(0,&quot;email is not available.&quot;));
	}
	
}

&lt;/pre&gt;

and my db.php is a simple database connection.
but this code is not working it only showing the processing button when i m clicking on sign up, can you please tell me what i m doing wrong.]]></description>
		<content:encoded><![CDATA[<p>nice tutorial as always martin, but i have a question<br />
i need to check for email availability in this form for this i add these lines of code in the submit.php</p>
<pre>

if(isset($_POST['email']))
{
	$email = mysql_real_escape_string($_POST['email']);
	//if(!empty($email))
	//{	
		require ("db.php");
		$username_query = mysql_query("SELECT COUNT(`user_id`) FROM `users` WHERE `username` = '$email'");
		 $username_result = mysql_result($username_query, 0);
		 if($username_result == 0){

			die(msg(1,"Emails is available."));
		 }
		 else if($username_result == 1)

			die(msg(0,"email is not available."));
	}
	
}

</pre>
<p>and my db.php is a simple database connection.<br />
but this code is not working it only showing the processing button when i m clicking on sign up, can you please tell me what i m doing wrong.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sohan</title>
		<link>http://tutorialzine.com/2009/08/creating-a-facebook-like-registration-form-with-jquery/#comment-18819</link>
		<dc:creator>sohan</dc:creator>
		<pubDate>Wed, 27 Jul 2011 18:34:07 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=297#comment-18819</guid>
		<description><![CDATA[an important issue !!!
if we turn off the browser&#039;s javascript and fillup the form with any invalid data it will be posted to target php file. means validations bypasses]]></description>
		<content:encoded><![CDATA[<p>an important issue !!!<br />
if we turn off the browser's javascript and fillup the form with any invalid data it will be posted to target php file. means validations bypasses</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajeev</title>
		<link>http://tutorialzine.com/2009/08/creating-a-facebook-like-registration-form-with-jquery/#comment-13658</link>
		<dc:creator>Rajeev</dc:creator>
		<pubDate>Tue, 14 Dec 2010 17:57:35 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=297#comment-13658</guid>
		<description><![CDATA[Best article published.......
great source of knowledge
Helped me a lot in my project.....
thank You
Keep posting.....]]></description>
		<content:encoded><![CDATA[<p>Best article published.......<br />
great source of knowledge<br />
Helped me a lot in my project.....<br />
thank You<br />
Keep posting.....</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: thesurge0n</title>
		<link>http://tutorialzine.com/2009/08/creating-a-facebook-like-registration-form-with-jquery/#comment-9512</link>
		<dc:creator>thesurge0n</dc:creator>
		<pubDate>Wed, 11 Aug 2010 12:20:02 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=297#comment-9512</guid>
		<description><![CDATA[Nice little post...you defo need to add a sample database insert into the mix...I&#039;m in the middle of troubleshooting getting the data into my database...normal methods don&#039;t seem to want to work :) 

I just wanted to make up the numbers so you do...

@Domas

if ( $username_exist &gt; 0 

this just says if there is an email address kick out error so im not suprised it was kicking back an error...]]></description>
		<content:encoded><![CDATA[<p>Nice little post...you defo need to add a sample database insert into the mix...I'm in the middle of troubleshooting getting the data into my database...normal methods don't seem to want to work :) </p>
<p>I just wanted to make up the numbers so you do...</p>
<p>@Domas</p>
<p>if ( $username_exist &gt; 0 </p>
<p>this just says if there is an email address kick out error so im not suprised it was kicking back an error...</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc
Page Caching using apc
Object Caching 287/287 objects using apc
Content Delivery Network via cdn.tutorialzine.com

 Served from: tutorialzine.com @ 2013-05-23 06:42:44 by W3 Total Cache -->