<?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: Building a Simple PHP Mailing List</title> <atom:link href="http://brenelz.com/blog/building-a-simple-php-mailing-list/feed/" rel="self" type="application/rss+xml" /><link>http://brenelz.com/blog/building-a-simple-php-mailing-list/</link> <description>a winnipeg website design company.</description> <lastBuildDate>Mon, 06 Feb 2012 15:07:39 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /> <item><title>By: Alex</title><link>http://brenelz.com/blog/building-a-simple-php-mailing-list/comment-page-1/#comment-475922</link> <dc:creator>Alex</dc:creator> <pubDate>Sun, 15 Jan 2012 22:38:47 +0000</pubDate> <guid isPermaLink="false">http://brenelz.com/?p=2200#comment-475922</guid> <description>It looks correct, not too sure. Could jus change the URL in the email to be domain.com/unsubscribe/index.php?hash= instead of just domain.com/unsubscribe/ , can&#039;t quite see at the moment why its not working unless you don&#039;t have Rewrite access on your server.</description> <content:encoded><![CDATA[<p>It looks correct, not too sure. Could jus change the URL in the email to be domain.com/unsubscribe/index.php?hash= instead of just domain.com/unsubscribe/ , can&#8217;t quite see at the moment why its not working unless you don&#8217;t have Rewrite access on your server.</p> ]]></content:encoded> </item> <item><title>By: CJ</title><link>http://brenelz.com/blog/building-a-simple-php-mailing-list/comment-page-1/#comment-471865</link> <dc:creator>CJ</dc:creator> <pubDate>Thu, 12 Jan 2012 23:26:14 +0000</pubDate> <guid isPermaLink="false">http://brenelz.com/?p=2200#comment-471865</guid> <description>My .htaccess in the unsubscribe folder is &quot;RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?hash=$1 [L]&quot;</description> <content:encoded><![CDATA[<p>My .htaccess in the unsubscribe folder is<br /> &#8220;RewriteEngine On<br /> RewriteCond %{REQUEST_FILENAME} !-f<br /> RewriteCond %{REQUEST_FILENAME} !-d<br /> RewriteRule ^(.*)$ index.php?hash=$1 [L]&#8220;</p> ]]></content:encoded> </item> <item><title>By: Alex</title><link>http://brenelz.com/blog/building-a-simple-php-mailing-list/comment-page-1/#comment-461852</link> <dc:creator>Alex</dc:creator> <pubDate>Wed, 04 Jan 2012 20:39:20 +0000</pubDate> <guid isPermaLink="false">http://brenelz.com/?p=2200#comment-461852</guid> <description>Please may sure to use the .htaccess code as it seems that this isn&#039;t working properly with your script.</description> <content:encoded><![CDATA[<p>Please may sure to use the .htaccess code as it seems that this isn&#8217;t working properly with your script.</p> ]]></content:encoded> </item> <item><title>By: Kenny</title><link>http://brenelz.com/blog/building-a-simple-php-mailing-list/comment-page-1/#comment-461804</link> <dc:creator>Kenny</dc:creator> <pubDate>Wed, 04 Jan 2012 19:43:28 +0000</pubDate> <guid isPermaLink="false">http://brenelz.com/?p=2200#comment-461804</guid> <description>What if I wanted to not send an email blast from this script, but just have an actual email list that way I can import it into my Outlook?  IS there a way that I can do that?</description> <content:encoded><![CDATA[<p>What if I wanted to not send an email blast from this script, but just have an actual email list that way I can import it into my Outlook?  IS there a way that I can do that?</p> ]]></content:encoded> </item> <item><title>By: CJ</title><link>http://brenelz.com/blog/building-a-simple-php-mailing-list/comment-page-1/#comment-438388</link> <dc:creator>CJ</dc:creator> <pubDate>Fri, 16 Dec 2011 05:35:45 +0000</pubDate> <guid isPermaLink="false">http://brenelz.com/?p=2200#comment-438388</guid> <description>Hey I can&#039;t get the unsubscribe to work using this code. The URL takes me to domain.com/unsubscribe/fce4ce060795cd3addadd2148887957b282&amp;email=you@email.com Which gives me a 404. Any ideas on what I could tweak</description> <content:encoded><![CDATA[<p>Hey I can&#8217;t get the unsubscribe to work using this code. The URL takes me to domain.com/unsubscribe/fce4ce060795cd3addadd2148887957b282&amp;email=you@email.com<br /> Which gives me a 404. Any ideas on what I could tweak</p> ]]></content:encoded> </item> <item><title>By: Domain Registration</title><link>http://brenelz.com/blog/building-a-simple-php-mailing-list/comment-page-1/#comment-236855</link> <dc:creator>Domain Registration</dc:creator> <pubDate>Wed, 15 Jun 2011 20:24:42 +0000</pubDate> <guid isPermaLink="false">http://brenelz.com/?p=2200#comment-236855</guid> <description>your article is helpful for me.</description> <content:encoded><![CDATA[<p>your article is helpful for me.</p> ]]></content:encoded> </item> <item><title>By: google +1 php</title><link>http://brenelz.com/blog/building-a-simple-php-mailing-list/comment-page-1/#comment-235640</link> <dc:creator>google +1 php</dc:creator> <pubDate>Tue, 14 Jun 2011 22:39:51 +0000</pubDate> <guid isPermaLink="false">http://brenelz.com/?p=2200#comment-235640</guid> <description>Hey, I was just browsing CodeCanyon (a online code marketplace) when I found a PHP class that may be able to solve your problem. It can count Google +1&#039;s, and all other kind of social statistics. Search for &#039;SocialCounter&#039; on CodeCanyon.</description> <content:encoded><![CDATA[<p>Hey, I was just browsing CodeCanyon (a online code marketplace) when I found a PHP class that may be able to solve your problem. It can count Google +1&#8242;s, and all other kind of social statistics. Search for &#8216;SocialCounter&#8217; on CodeCanyon.</p> ]]></content:encoded> </item> <item><title>By: mm</title><link>http://brenelz.com/blog/building-a-simple-php-mailing-list/comment-page-1/#comment-38174</link> <dc:creator>mm</dc:creator> <pubDate>Fri, 17 Sep 2010 22:58:21 +0000</pubDate> <guid isPermaLink="false">http://brenelz.com/?p=2200#comment-38174</guid> <description>OMFG! Please stop it. This code is so flawed I don&#039;t know where to start. Use the tools at you hand. Why does everyone write his own version for email validation when you can use filter_var?Don&#039;t start to tell about PHP 4 it is long dead.Why do you write SELECT * FROM subscribers WHERE email = &#039;$email&#039; AND unsubscribeLink = &#039;$hash&#039; LIMIT 1;When you also could write SELECT 1 FROM subscribers WHERE email = ? AND unsubscribeLink = ? LIMIT 1Also use PDO or mysqli.You don&#039;t need to add a semicolon at the end of the sql statements. You only need to add them when working directly on the database mysql_query, mysqli_query and PDO::query add it for you. You don&#039;t need to add it there.Also check for existence for $_GET parameters when you want to use them.There are other flaws with only skimming over the code you&#039;ve dumped here. Reread the code, learn to write proper SQL and write sane PHP.</description> <content:encoded><![CDATA[<p>OMFG!<br /> Please stop it. This code is so flawed I don&#8217;t know where to start.<br /> Use the tools at you hand. Why does everyone write his own version for email validation when you can use filter_var?</p><p>Don&#8217;t start to tell about PHP 4 it is long dead.</p><p>Why do you write<br /> SELECT * FROM subscribers WHERE email = &#8216;$email&#8217; AND unsubscribeLink = &#8216;$hash&#8217; LIMIT 1;</p><p>When you also could write SELECT 1 FROM subscribers WHERE email = ? AND unsubscribeLink = ? LIMIT 1</p><p>Also use PDO or mysqli.</p><p>You don&#8217;t need to add a semicolon at the end of the sql statements. You only need to add them when working directly on the database mysql_query, mysqli_query and PDO::query add it for you. You don&#8217;t need to add it there.</p><p>Also check for existence for $_GET parameters when you want to use them.</p><p>There are other flaws with only skimming over the code you&#8217;ve dumped here. Reread the code, learn to write proper SQL and write sane PHP.</p> ]]></content:encoded> </item> <item><title>By: Torsten</title><link>http://brenelz.com/blog/building-a-simple-php-mailing-list/comment-page-1/#comment-38173</link> <dc:creator>Torsten</dc:creator> <pubDate>Fri, 17 Sep 2010 22:51:28 +0000</pubDate> <guid isPermaLink="false">http://brenelz.com/?p=2200#comment-38173</guid> <description>Hello and thanks for the great tutorial. I wrote a similar script two years or so ago, but in yours there are some more details like the AJAX stuff and other things. So I think I will update my script with parts of your code. Thanks again for the good work!</description> <content:encoded><![CDATA[<p>Hello and thanks for the great tutorial. I wrote a similar script two years or so ago, but in yours there are some more details like the AJAX stuff and other things. So I think I will update my script with parts of your code. Thanks again for the good work!</p> ]]></content:encoded> </item> <item><title>By: ahsan</title><link>http://brenelz.com/blog/building-a-simple-php-mailing-list/comment-page-1/#comment-37487</link> <dc:creator>ahsan</dc:creator> <pubDate>Wed, 15 Sep 2010 11:42:31 +0000</pubDate> <guid isPermaLink="false">http://brenelz.com/?p=2200#comment-37487</guid> <description>i would love to see this if you can merge it with wordpress</description> <content:encoded><![CDATA[<p>i would love to see this if you can merge it with wordpress</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 26/41 queries in 0.052 seconds using disk: basic
Object Caching 625/626 objects using disk: basic

Served from: brenelz.com @ 2012-02-09 04:58:35 -->
