<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Building Browsergames - Latest Comments in Building Browsergames: Implementing an e-mail confirmation system (PHP)</title><link>http://bbgames.disqus.com/</link><description></description><atom:link href="https://bbgames.disqus.com/building_browsergames_implementing_an_e_mail_confirmation_system_php/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 13 Apr 2010 09:24:08 -0000</lastBuildDate><item><title>Re: Building Browsergames: Implementing an e-mail confirmation system (PHP)</title><link>http://buildingbrowsergames.com/2008/05/09/building-browsergames-implementing-an-e-mail-confirmation-system-php/#comment-44587273</link><description>&lt;p&gt;Hi!&lt;br&gt;&lt;a href="http://browsergame.freeiz.com/error.zip" rel="nofollow noopener" target="_blank" title="http://browsergame.freeiz.com/error.zip"&gt;http://browsergame.freeiz.c...&lt;/a&gt;&lt;br&gt;What is the error?&lt;br&gt;I don't found.&lt;br&gt;Please help me!&lt;br&gt;Thanks&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dawars</dc:creator><pubDate>Tue, 13 Apr 2010 09:24:08 -0000</pubDate></item><item><title>Re: Building Browsergames: Implementing an e-mail confirmation system (PHP)</title><link>http://buildingbrowsergames.com/2008/05/09/building-browsergames-implementing-an-e-mail-confirmation-system-php/#comment-30033187</link><description>&lt;p&gt;I got it figured out thanks Luke. By the way your site is very organized, informative, and easy to understand. Thank you for making these tutorials available. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Red</dc:creator><pubDate>Sat, 16 Jan 2010 04:49:33 -0000</pubDate></item><item><title>Re: Building Browsergames: Implementing an e-mail confirmation system (PHP)</title><link>http://buildingbrowsergames.com/2008/05/09/building-browsergames-implementing-an-e-mail-confirmation-system-php/#comment-29976784</link><description>&lt;p&gt;I'm not sure - you'd have to show me lines 22-25 of your register.php.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luke</dc:creator><pubDate>Fri, 15 Jan 2010 12:07:00 -0000</pubDate></item><item><title>Re: Building Browsergames: Implementing an e-mail confirmation system (PHP)</title><link>http://buildingbrowsergames.com/2008/05/09/building-browsergames-implementing-an-e-mail-confirmation-system-php/#comment-29957725</link><description>&lt;p&gt;I test my register page and it seems to work but I do still get an error:&lt;/p&gt;&lt;p&gt;Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/axyse1/public_html/axnet/register.php on line 25&lt;br&gt;Congratulations, you've registered successfully! A confirmation e-mail has been sent to the address you entered.&lt;/p&gt;&lt;p&gt;Hey! Thanks for signing up for the browsergame. Click below to confirm your e-mail address.&lt;/p&gt;&lt;p&gt;What would be causing this?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Red</dc:creator><pubDate>Fri, 15 Jan 2010 08:04:25 -0000</pubDate></item><item><title>Re: Building Browsergames: Implementing an e-mail confirmation system (PHP)</title><link>http://buildingbrowsergames.com/2008/05/09/building-browsergames-implementing-an-e-mail-confirmation-system-php/#comment-27221268</link><description>&lt;p&gt;Hey Shade,&lt;br&gt;i've got a question to this part:&lt;/p&gt;&lt;p&gt;...And change it to this&lt;/p&gt;&lt;p&gt;$query = sprintf("INSERT INTO users(username,password,email) VALUES ('%s','%s','%s','%s');",&lt;br&gt;                                        mysql_real_escape_string($_POST['username']),&lt;br&gt;                                        mysql_real_escape_string(md5($password)),&lt;br&gt;                                        mysql_real_escape_string($email),&lt;br&gt;                                       mysql_real_escape_string($confcode));&lt;br&gt;...&lt;/p&gt;&lt;p&gt;You INSERT INTO 3 columns, but you add 4 values. How does MySQL consider this??&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">welon</dc:creator><pubDate>Thu, 24 Dec 2009 18:14:35 -0000</pubDate></item><item><title>Re: Building Browsergames: Implementing an e-mail confirmation system (PHP)</title><link>http://buildingbrowsergames.com/2008/05/09/building-browsergames-implementing-an-e-mail-confirmation-system-php/#comment-26014664</link><description>&lt;p&gt;No reason at all not to do it that way - send away :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luke</dc:creator><pubDate>Thu, 17 Dec 2009 00:40:27 -0000</pubDate></item><item><title>Re: Building Browsergames: Implementing an e-mail confirmation system (PHP)</title><link>http://buildingbrowsergames.com/2008/05/09/building-browsergames-implementing-an-e-mail-confirmation-system-php/#comment-26010822</link><description>&lt;p&gt;Hey is there any reason not to do something like this:&lt;br&gt;$token = sha1(microtime());&lt;br&gt;?&amp;gt;&lt;br&gt;&lt;br&gt;I ask because it would be pretty handy to just do that and send it as the token.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">BUnzaga</dc:creator><pubDate>Thu, 17 Dec 2009 00:03:30 -0000</pubDate></item><item><title>Re: Building Browsergames: Implementing an e-mail confirmation system (PHP)</title><link>http://buildingbrowsergames.com/2008/05/09/building-browsergames-implementing-an-e-mail-confirmation-system-php/#comment-25642423</link><description>&lt;p&gt;Ok so I guess it wouldn't let me send an email from a fake email address on my server.  Once I went in and actually added an email address, the message was sent successfully.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">BUnzaga</dc:creator><pubDate>Sun, 13 Dec 2009 05:49:15 -0000</pubDate></item><item><title>Re: Building Browsergames: Implementing an e-mail confirmation system (PHP)</title><link>http://buildingbrowsergames.com/2008/05/09/building-browsergames-implementing-an-e-mail-confirmation-system-php/#comment-25642283</link><description>&lt;p&gt;I am also not getting the confirmation email for some reason.  I'll try to simplify the message and see if it is a formatting mistake.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">BUnzaga</dc:creator><pubDate>Sun, 13 Dec 2009 05:37:01 -0000</pubDate></item><item><title>Re: Building Browsergames: Implementing an e-mail confirmation system (PHP)</title><link>http://buildingbrowsergames.com/2008/05/09/building-browsergames-implementing-an-e-mail-confirmation-system-php/#comment-17722364</link><description>&lt;p&gt;i could not fix the mail ,does not send mail . Can we tell why?&lt;br&gt;I think all the configuration is right but .....&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sachit</dc:creator><pubDate>Mon, 28 Sep 2009 11:36:04 -0000</pubDate></item><item><title>Re: Building Browsergames: Implementing an e-mail confirmation system (PHP)</title><link>http://buildingbrowsergames.com/2008/05/09/building-browsergames-implementing-an-e-mail-confirmation-system-php/#comment-14421229</link><description>&lt;p&gt;Hey guys,&lt;/p&gt;&lt;p&gt;I am trying to implement this system as part of your tutorial but I am having a couple of problems, perhaps stemming from the same error. When I test my registration page at this stage it attempts to load 'register-email.php' as a new page which does not exist, unless I have somehow missed that part. Also sometimes it will update the database with the registrants information but no email will be sent out. I understand this may have something to do with my php.ini which I do have access to but I do not understand what I should be looking for to remove the error.&lt;br&gt;Thanks in advance for any help you can offer, also thanks for an amazing tutorial!&lt;br&gt;Ant&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">antcox</dc:creator><pubDate>Fri, 07 Aug 2009 06:10:37 -0000</pubDate></item><item><title>Re: Building Browsergames: Implementing an e-mail confirmation system (PHP)</title><link>http://buildingbrowsergames.com/2008/05/09/building-browsergames-implementing-an-e-mail-confirmation-system-php/#comment-8922585</link><description>&lt;p&gt;Hey Shade, which variable was wrong? I've been trying to follow your code and I can't find the bug.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tem</dc:creator><pubDate>Sat, 02 May 2009 05:43:20 -0000</pubDate></item><item><title>Re: Building Browsergames: Implementing an e-mail confirmation system (PHP)</title><link>http://buildingbrowsergames.com/2008/05/09/building-browsergames-implementing-an-e-mail-confirmation-system-php/#comment-7952298</link><description>&lt;p&gt;I got it now...it was just a wrong variable. ;)&lt;br&gt;But the "confirmation_token" is free of errors.&lt;/p&gt;&lt;p&gt;Anyway, thanks for answering!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shade</dc:creator><pubDate>Tue, 07 Apr 2009 16:16:24 -0000</pubDate></item><item><title>Re: Building Browsergames: Implementing an e-mail confirmation system (PHP)</title><link>http://buildingbrowsergames.com/2008/05/09/building-browsergames-implementing-an-e-mail-confirmation-system-php/#comment-7938547</link><description>&lt;p&gt;If you're not getting an e-mail after registering, chances are your SMTP&lt;br&gt;settings aren't configured properly in your php.ini. You'll probably need to&lt;br&gt;talk to your webhost to see what they should be.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luke</dc:creator><pubDate>Tue, 07 Apr 2009 11:21:26 -0000</pubDate></item><item><title>Re: Building Browsergames: Implementing an e-mail confirmation system (PHP)</title><link>http://buildingbrowsergames.com/2008/05/09/building-browsergames-implementing-an-e-mail-confirmation-system-php/#comment-7937710</link><description>&lt;p&gt;Hi!&lt;/p&gt;&lt;p&gt;I added this "confirmation_token". Have a look at this: &lt;a href="http://pastebin.com/fd19ea57" rel="nofollow noopener" target="_blank" title="http://pastebin.com/fd19ea57"&gt;http://pastebin.com/fd19ea57&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Oh and btw... i dont get any email after registering. :( But the the account is generated in the Databse.&lt;br&gt;This is my register.php:&lt;br&gt;&lt;a href="http://pastebin.com/f3b82f8bb" rel="nofollow noopener" target="_blank" title="http://pastebin.com/f3b82f8bb"&gt;http://pastebin.com/f3b82f8bb&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shade</dc:creator><pubDate>Tue, 07 Apr 2009 10:45:00 -0000</pubDate></item><item><title>Re: Building Browsergames: Implementing an e-mail confirmation system (PHP)</title><link>http://buildingbrowsergames.com/2008/05/09/building-browsergames-implementing-an-e-mail-confirmation-system-php/#comment-6871987</link><description>&lt;p&gt;Thanks guys for this awesome and intuitive sample of how to implement email confirmation system.&lt;/p&gt;&lt;p&gt;I can now go ahead and personalise it to meet my need. Great resource :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Helen Hunt</dc:creator><pubDate>Wed, 04 Mar 2009 11:05:11 -0000</pubDate></item><item><title>Re: Building Browsergames: Implementing an e-mail confirmation system (PHP)</title><link>http://buildingbrowsergames.com/2008/05/09/building-browsergames-implementing-an-e-mail-confirmation-system-php/#comment-4965867</link><description>&lt;p&gt;Pretty neat, but what is it usefull for?&lt;br&gt;It certainly does not proove that the user is able to read email sent to the address she says she is.&lt;/p&gt;&lt;p&gt;Once the user confirms one account (the real one) and learns the confirmation URL, will be able to "confirm" any email address she wishes. bill.gates@microsoft.com? Just enter &lt;a href="http://website.com/confirm.php?email=bill.gates@microsoft.com" rel="nofollow noopener" target="_blank" title="http://website.com/confirm.php?email=bill.gates@microsoft.com"&gt;http://website.com/confirm....&lt;/a&gt; in browser - voila!&lt;/p&gt;&lt;p&gt;The real confirmation is to use some secret data (the templated URL is not secret) sent to the given e-mail address.&lt;br&gt;You meay for example add another text column 'confirmation_token' to the DB, put some random string in it and send &lt;a href="http://website.com/confirm.php?token=random_string" rel="nofollow noopener" target="_blank" title="http://website.com/confirm.php?token=random_string"&gt;http://website.com/confirm....&lt;/a&gt; to the given address. Then use the given token to flag validated in DB row. This way the user has no way of guessing the confirmation token unless she really got the email.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tomasz Sterna</dc:creator><pubDate>Wed, 07 Jan 2009 14:47:55 -0000</pubDate></item><item><title>Re: Building Browsergames: Implementing an e-mail confirmation system (PHP)</title><link>http://buildingbrowsergames.com/2008/05/09/building-browsergames-implementing-an-e-mail-confirmation-system-php/#comment-4966444</link><description>&lt;p&gt;Hi Tomasz,&lt;br&gt;You're definitely right about our e-mail system not being particularly&lt;br&gt;secure - and using tokens would be a much better way to make it that way.&lt;br&gt;However, it seems that everyone wants e-mail confirmations to work&lt;br&gt;differently - which is why it's built the way it is. Modifying it from how&lt;br&gt;it is now to working now to however you want it to instead should be simple&lt;br&gt;enough.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luke</dc:creator><pubDate>Wed, 07 Jan 2009 14:21:23 -0000</pubDate></item><item><title>Re: Building Browsergames: Implementing an e-mail confirmation system (PHP)</title><link>http://buildingbrowsergames.com/2008/05/09/building-browsergames-implementing-an-e-mail-confirmation-system-php/#comment-3916587</link><description>&lt;p&gt;Awesome, this is the first time i've used a script off the web that just worked. And it's neat and tidy, simple and not over complicated.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">darren Hayles</dc:creator><pubDate>Thu, 20 Nov 2008 12:53:16 -0000</pubDate></item></channel></rss>