<?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: PHP Confirm Registration Link</title>
	<atom:link href="http://www.php4every1.com/tutorials/php-confirm-registration-link/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.php4every1.com/tutorials/php-confirm-registration-link/</link>
	<description>Blog with PHP, MySQL and other tutorials. You can also download my scripts, report a bug or leave a feedback.</description>
	<lastBuildDate>Mon, 30 Jan 2012 23:00:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: 15 User Authentication Tutorials &#124; PHPRadar.com - The Best Collection of PHP Tutorials on the Web</title>
		<link>http://www.php4every1.com/tutorials/php-confirm-registration-link/comment-page-1/#comment-42375</link>
		<dc:creator>15 User Authentication Tutorials &#124; PHPRadar.com - The Best Collection of PHP Tutorials on the Web</dc:creator>
		<pubDate>Wed, 21 Dec 2011 22:24:15 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=395#comment-42375</guid>
		<description>[...] PHP Confirm Registration Link [...]</description>
		<content:encoded><![CDATA[<p>[...] PHP Confirm Registration Link [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marijan Šuflaj</title>
		<link>http://www.php4every1.com/tutorials/php-confirm-registration-link/comment-page-1/#comment-35340</link>
		<dc:creator>Marijan Šuflaj</dc:creator>
		<pubDate>Sat, 12 Nov 2011 01:38:47 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=395#comment-35340</guid>
		<description>Well, I&#039;ve never worked with Drupal so I can&#039;t help you.</description>
		<content:encoded><![CDATA[<p>Well, I&#8217;ve never worked with Drupal so I can&#8217;t help you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sreenivas</title>
		<link>http://www.php4every1.com/tutorials/php-confirm-registration-link/comment-page-1/#comment-31033</link>
		<dc:creator>sreenivas</dc:creator>
		<pubDate>Sun, 16 Oct 2011 04:05:36 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=395#comment-31033</guid>
		<description>cani know how to use this code for drupal site n where to save the code so that it runs when i create my website..</description>
		<content:encoded><![CDATA[<p>cani know how to use this code for drupal site n where to save the code so that it runs when i create my website..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marijan Šuflaj</title>
		<link>http://www.php4every1.com/tutorials/php-confirm-registration-link/comment-page-1/#comment-9363</link>
		<dc:creator>Marijan Šuflaj</dc:creator>
		<pubDate>Sat, 20 Nov 2010 11:57:13 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=395#comment-9363</guid>
		<description>I&#039;m not sure that I understand what you are saying. Can you be more detailed in your description?</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure that I understand what you are saying. Can you be more detailed in your description?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivan</title>
		<link>http://www.php4every1.com/tutorials/php-confirm-registration-link/comment-page-1/#comment-9203</link>
		<dc:creator>Ivan</dc:creator>
		<pubDate>Mon, 15 Nov 2010 20:46:15 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=395#comment-9203</guid>
		<description>Hey, 

I have a trouble with a clone website. 
When I receive the confirmation link, it is incomplete. Looks like: 
&quot;/registration_confirmation.php?confirm=e55557db3adfe557289a088a0aa411c0&amp;user=seller&quot;
So when you click on it, it cannot find the page which says &quot;Registration complete&quot;. 

When I add the website before this link. 
So lets say &quot;www.xxxxxxx.com/registration_confirmation.php?confirm=e55557db3adfe557289a088a0aa411c0&amp;user=seller&quot;

Then it works fine. 
My knowledge about PHP is near 0. And this site is just a script. 

Could you please help me with this. Like where can I change the settings for the link to be complete. 

Many Thanks in advance, 

Ivan.
ps. Could you please reply on: ivanivan321@gmail.com</description>
		<content:encoded><![CDATA[<p>Hey, </p>
<p>I have a trouble with a clone website.<br />
When I receive the confirmation link, it is incomplete. Looks like:<br />
&#8220;/registration_confirmation.php?confirm=e55557db3adfe557289a088a0aa411c0&#038;user=seller&#8221;<br />
So when you click on it, it cannot find the page which says &#8220;Registration complete&#8221;. </p>
<p>When I add the website before this link.<br />
So lets say &#8220;www.xxxxxxx.com/registration_confirmation.php?confirm=e55557db3adfe557289a088a0aa411c0&#038;user=seller&#8221;</p>
<p>Then it works fine.<br />
My knowledge about PHP is near 0. And this site is just a script. </p>
<p>Could you please help me with this. Like where can I change the settings for the link to be complete. </p>
<p>Many Thanks in advance, </p>
<p>Ivan.<br />
ps. Could you please reply on: <a href="mailto:ivanivan321@gmail.com">ivanivan321@gmail.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marijan Šuflaj</title>
		<link>http://www.php4every1.com/tutorials/php-confirm-registration-link/comment-page-1/#comment-2708</link>
		<dc:creator>Marijan Šuflaj</dc:creator>
		<pubDate>Fri, 05 Mar 2010 13:27:22 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=395#comment-2708</guid>
		<description>I&#039;m not quite sure that I understand you. You did not get confirmation e-mail or what? What do you want to change?</description>
		<content:encoded><![CDATA[<p>I&#8217;m not quite sure that I understand you. You did not get confirmation e-mail or what? What do you want to change?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nettie Jonker</title>
		<link>http://www.php4every1.com/tutorials/php-confirm-registration-link/comment-page-1/#comment-2697</link>
		<dc:creator>Nettie Jonker</dc:creator>
		<pubDate>Thu, 04 Mar 2010 14:22:27 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=395#comment-2697</guid>
		<description>Hello Marijan,

The tutorial, is not working.
When I register,  the words of check your email are not seen.
adres is by example http:www.namesite
Or do I have to change here.
When I check my email I confirm, but I lost &quot;path&quot;   The email is in the database.
you can see confirm is 1. But when I want to log in there stood , email doesn&#039;t exit.
I try a lot of things. I hope you recognize the problem. Thank you vere much.</description>
		<content:encoded><![CDATA[<p>Hello Marijan,</p>
<p>The tutorial, is not working.<br />
When I register,  the words of check your email are not seen.<br />
adres is by example http:www.namesite<br />
Or do I have to change here.<br />
When I check my email I confirm, but I lost &#8220;path&#8221;   The email is in the database.<br />
you can see confirm is 1. But when I want to log in there stood , email doesn&#8217;t exit.<br />
I try a lot of things. I hope you recognize the problem. Thank you vere much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marijan Šuflaj</title>
		<link>http://www.php4every1.com/tutorials/php-confirm-registration-link/comment-page-1/#comment-1067</link>
		<dc:creator>Marijan Šuflaj</dc:creator>
		<pubDate>Mon, 09 Nov 2009 16:43:31 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=395#comment-1067</guid>
		<description>You should use SQL syntax like this 
&lt;code&gt;$sql = &#039;INSERT INTO `tutor_userconfstr` ( &#039;
. &#039;`email`, `conf_string`, `nameOfYouField` &#039;
. &#039;) &#039;
. &#039;VALUES ( &#039;
. &quot;&#039;%s&#039;, &#039;%s&#039;, &#039;%s&#039; &quot;
&#039;)&#039;;&lt;/code&gt;

Replace &lt;i&gt;nameOfYourField&lt;/i&gt; with actual name of your field in database and not that now in sprintf you need to add variable that holds name.

About quick validation I would check with regular expression if it contains only letters and if it&#039;s length is 2+ characters. This is that simple regular expression
&lt;code&gt;/^[a-zA-Z]{2,}$/&lt;/code&gt;.

It should work :).</description>
		<content:encoded><![CDATA[<p>You should use SQL syntax like this<br />
<code>$sql = 'INSERT INTO `tutor_userconfstr` ( '<br />
. '`email`, `conf_string`, `nameOfYouField` '<br />
. ') '<br />
. 'VALUES ( '<br />
. "'%s', '%s', '%s' "<br />
')';</code></p>
<p>Replace <i>nameOfYourField</i> with actual name of your field in database and not that now in sprintf you need to add variable that holds name.</p>
<p>About quick validation I would check with regular expression if it contains only letters and if it&#8217;s length is 2+ characters. This is that simple regular expression<br />
<code>/^[a-zA-Z]{2,}$/</code>.</p>
<p>It should work <img src='http://www.php4every1.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Russ</title>
		<link>http://www.php4every1.com/tutorials/php-confirm-registration-link/comment-page-1/#comment-1066</link>
		<dc:creator>Russ</dc:creator>
		<pubDate>Mon, 09 Nov 2009 16:05:47 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=395#comment-1066</guid>
		<description>Marijan-

No problem adding the fild &quot;name&quot; to the database. The error I&#039;m getting is referencing the field in the sql query: 

$sql = &#039;INSERT INTO `tutor_userconfstr` ( &#039;
. &#039;`email`, `conf_string`&#039;
. &#039;) &#039;
. &#039;VALUES ( &#039;
. &quot;&#039;%s&#039;, &#039;%s&#039; &quot;

Not sure how to reference  it. Also, do you have some quick validation for the name field?

Thanks again for the help!
. &#039;)&#039;;</description>
		<content:encoded><![CDATA[<p>Marijan-</p>
<p>No problem adding the fild &#8220;name&#8221; to the database. The error I&#8217;m getting is referencing the field in the sql query: </p>
<p>$sql = &#8216;INSERT INTO `tutor_userconfstr` ( &#8216;<br />
. &#8216;`email`, `conf_string`&#8217;<br />
. &#8216;) &#8216;<br />
. &#8216;VALUES ( &#8216;<br />
. &#8220;&#8216;%s&#8217;, &#8216;%s&#8217; &#8221;</p>
<p>Not sure how to reference  it. Also, do you have some quick validation for the name field?</p>
<p>Thanks again for the help!<br />
. &#8216;)&#8217;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marijan Šuflaj</title>
		<link>http://www.php4every1.com/tutorials/php-confirm-registration-link/comment-page-1/#comment-1064</link>
		<dc:creator>Marijan Šuflaj</dc:creator>
		<pubDate>Mon, 09 Nov 2009 13:40:50 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=395#comment-1064</guid>
		<description>First you need to add it in phpMyAdmin or using MySQL command 
&lt;code&gt;ALTER TABLE `tableName` ADD COLUMN `columnName` VARCHAR(50);&lt;/code&gt;.

Then you have to add that field to your HTML code and add some validation to &lt;i&gt;register.php&lt;/i&gt; and change your SQL so that it now inserts name with other data. 

I hope it helps :).</description>
		<content:encoded><![CDATA[<p>First you need to add it in phpMyAdmin or using MySQL command<br />
<code>ALTER TABLE `tableName` ADD COLUMN `columnName` VARCHAR(50);</code>.</p>
<p>Then you have to add that field to your HTML code and add some validation to <i>register.php</i> and change your SQL so that it now inserts name with other data. </p>
<p>I hope it helps <img src='http://www.php4every1.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
	</item>
</channel>
</rss>

