<?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: Integrate your MailChimp Newsletter Subscription</title>
	<atom:link href="http://www.web-development-blog.com/archives/integrate-your-mailchimp-newsletter-subscription/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.web-development-blog.com/archives/integrate-your-mailchimp-newsletter-subscription/</link>
	<description>Read about Website Development, Online Marketing and Web Hosting</description>
	<lastBuildDate>Wed, 08 Feb 2012 09:30:54 +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: Olaf</title>
		<link>http://www.web-development-blog.com/archives/integrate-your-mailchimp-newsletter-subscription/#comment-143085</link>
		<dc:creator>Olaf</dc:creator>
		<pubDate>Tue, 27 Dec 2011 14:02:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/?p=536#comment-143085</guid>
		<description>Sorry it&#039;s &quot;pastebin.com&quot;, what happens if you output the post array to your screen (print_r($_POST);)</description>
		<content:encoded><![CDATA[<p>Sorry it&#8217;s &#8220;pastebin.com&#8221;, what happens if you output the post array to your screen (print_r($_POST);)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david</title>
		<link>http://www.web-development-blog.com/archives/integrate-your-mailchimp-newsletter-subscription/#comment-142660</link>
		<dc:creator>david</dc:creator>
		<pubDate>Thu, 22 Dec 2011 20:12:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/?p=536#comment-142660</guid>
		<description>pastbin.com seems to be dead. the Field name and value of my form is &quot;firstname&quot;. I use .$_POST[&quot;firstname&quot;]. When sending through the form entries to my email. 

I&#039;ve also tried defining this $firstname then merge_vars[MMERGE1]=$firstname but mailchimp shows the first name as &quot;$firstname&quot; rather than the entry. I&#039;ve also tried echoing this variable with the same result.</description>
		<content:encoded><![CDATA[<p>pastbin.com seems to be dead. the Field name and value of my form is &#8220;firstname&#8221;. I use .$_POST["firstname"]. When sending through the form entries to my email. </p>
<p>I&#8217;ve also tried defining this $firstname then merge_vars[MMERGE1]=$firstname but mailchimp shows the first name as &#8220;$firstname&#8221; rather than the entry. I&#8217;ve also tried echoing this variable with the same result.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olaf</title>
		<link>http://www.web-development-blog.com/archives/integrate-your-mailchimp-newsletter-subscription/#comment-142538</link>
		<dc:creator>Olaf</dc:creator>
		<pubDate>Wed, 21 Dec 2011 07:05:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/?p=536#comment-142538</guid>
		<description>David, you need to check the (form) variable name/value for $ffname.
If you want me to check your code please post it @pastebin.com (posting code using the comment form doesn&#039;t work)</description>
		<content:encoded><![CDATA[<p>David, you need to check the (form) variable name/value for $ffname.<br />
If you want me to check your code please post it @pastebin.com (posting code using the comment form doesn&#8217;t work)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david</title>
		<link>http://www.web-development-blog.com/archives/integrate-your-mailchimp-newsletter-subscription/#comment-142185</link>
		<dc:creator>david</dc:creator>
		<pubDate>Sun, 18 Dec 2011 13:29:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/?p=536#comment-142185</guid>
		<description>thank you for your reply.

I now get no information in the firstname feild.</description>
		<content:encoded><![CDATA[<p>thank you for your reply.</p>
<p>I now get no information in the firstname feild.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olaf</title>
		<link>http://www.web-development-blog.com/archives/integrate-your-mailchimp-newsletter-subscription/#comment-142184</link>
		<dc:creator>Olaf</dc:creator>
		<pubDate>Sun, 18 Dec 2011 12:46:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/?p=536#comment-142184</guid>
		<description>Hi David,

replace 
merge_vars[MMERGE1]=firstname 
with 
merge_vars[MMERGE1]=%s

and it will work :)</description>
		<content:encoded><![CDATA[<p>Hi David,</p>
<p>replace<br />
merge_vars[MMERGE1]=firstname<br />
with<br />
merge_vars[MMERGE1]=%s</p>
<p>and it will work <img src='http://cdn.web-development-blog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david</title>
		<link>http://www.web-development-blog.com/archives/integrate-your-mailchimp-newsletter-subscription/#comment-142152</link>
		<dc:creator>david</dc:creator>
		<pubDate>Sun, 18 Dec 2011 03:14:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/?p=536#comment-142152</guid>
		<description>Hi I&#039;m using this:

&lt;pre lang=&quot;php&quot;&gt;$url = sprintf(&#039;http://us2.api.mailchimp.com/1.3/?method=listSubscribe&amp;apikey=%s&amp;id=%s&amp;email_address=%s&amp;merge_vars[OPTINIP]=%s&amp;merge_vars[MMERGE1]=firstname&amp;output=json&#039;, $api, $list_id, $emailaddress, $merge_vars, $ffname, $_SERVER[&#039;REMOTE_ADDR&#039;]);&lt;/pre&gt;

but the name posted in the firstname field is just firstname...any help?</description>
		<content:encoded><![CDATA[<p>Hi I&#8217;m using this:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$url</span> <span style="color: #339933;">=</span> <span style="color: #990000;">sprintf</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'http://us2.api.mailchimp.com/1.3/?method=listSubscribe&amp;amp;apikey=%s&amp;amp;id=%s&amp;amp;email_address=%s&amp;amp;merge_vars[OPTINIP]=%s&amp;amp;merge_vars[MMERGE1]=firstname&amp;amp;output=json'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$api</span><span style="color: #339933;">,</span> <span style="color: #000088;">$list_id</span><span style="color: #339933;">,</span> <span style="color: #000088;">$emailaddress</span><span style="color: #339933;">,</span> <span style="color: #000088;">$merge_vars</span><span style="color: #339933;">,</span> <span style="color: #000088;">$ffname</span><span style="color: #339933;">,</span> <span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'REMOTE_ADDR'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>but the name posted in the firstname field is just firstname&#8230;any help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olaf</title>
		<link>http://www.web-development-blog.com/archives/integrate-your-mailchimp-newsletter-subscription/#comment-132639</link>
		<dc:creator>Olaf</dc:creator>
		<pubDate>Sat, 29 Oct 2011 07:20:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/?p=536#comment-132639</guid>
		<description>Hi, it should work if you change your HTML a little bit (use the same names for the fields email and the subscribe checkbox).
</description>
		<content:encoded><![CDATA[<p>Hi, it should work if you change your HTML a little bit (use the same names for the fields email and the subscribe checkbox).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cappy</title>
		<link>http://www.web-development-blog.com/archives/integrate-your-mailchimp-newsletter-subscription/#comment-132625</link>
		<dc:creator>Cappy</dc:creator>
		<pubDate>Fri, 28 Oct 2011 22:30:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/?p=536#comment-132625</guid>
		<description>I have a custom php script which has a checkbox and a textbox(email address) within it for subscribing to the newsletter.  Will the above code work for my needs?</description>
		<content:encoded><![CDATA[<p>I have a custom php script which has a checkbox and a textbox(email address) within it for subscribing to the newsletter.  Will the above code work for my needs?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olaf</title>
		<link>http://www.web-development-blog.com/archives/integrate-your-mailchimp-newsletter-subscription/#comment-130447</link>
		<dc:creator>Olaf</dc:creator>
		<pubDate>Thu, 08 Sep 2011 13:31:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/?p=536#comment-130447</guid>
		<description>Ed, looks to me that the ampersand symbols are missing. Search also google for &quot;query string&quot; to get more information how the variable/value pairs in a URL have to look like.</description>
		<content:encoded><![CDATA[<p>Ed, looks to me that the ampersand symbols are missing. Search also google for &#8220;query string&#8221; to get more information how the variable/value pairs in a URL have to look like.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ed Wieczorek</title>
		<link>http://www.web-development-blog.com/archives/integrate-your-mailchimp-newsletter-subscription/#comment-129759</link>
		<dc:creator>Ed Wieczorek</dc:creator>
		<pubDate>Fri, 02 Sep 2011 13:50:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/?p=536#comment-129759</guid>
		<description>Thanks for your quick reply! Just to clarify. If my MMERGE1 field was Firstname would my version be[MMERGE1]=Firstname?I figured if that is the way it works would I separate them with ampersands? like so? 

&lt;pre lang=&quot;php&quot;&gt;$url = sprintf(&#039;http://api.mailchimp.com/1.2/?method=listSubscribe&amp;apikey=%s&amp;id=%s&amp;email_address=%s&amp;merge_vars[OPTINIP]=%smerge_vars[MMERGE1]=Firstname&amp;[MMERGE2]=Lastname&amp;[MMERGE3]=Subject&amp;output=json&#039;, $apikey, $listID, $email, $_SERVER[&#039;REMOTE_ADDR&#039;]);&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Thanks for your quick reply! Just to clarify. If my MMERGE1 field was Firstname would my version be[MMERGE1]=Firstname?I figured if that is the way it works would I separate them with ampersands? like so?</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$url</span> <span style="color: #339933;">=</span> <span style="color: #990000;">sprintf</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'http://api.mailchimp.com/1.2/?method=listSubscribe&amp;amp;apikey=%s&amp;amp;id=%s&amp;amp;email_address=%s&amp;amp;merge_vars[OPTINIP]=%smerge_vars[MMERGE1]=Firstname&amp;amp;[MMERGE2]=Lastname&amp;amp;[MMERGE3]=Subject&amp;amp;output=json'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$apikey</span><span style="color: #339933;">,</span> <span style="color: #000088;">$listID</span><span style="color: #339933;">,</span> <span style="color: #000088;">$email</span><span style="color: #339933;">,</span> <span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'REMOTE_ADDR'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Database Caching 26/36 queries in 0.021 seconds using disk: basic
Object Caching 478/482 objects using disk: basic
Content Delivery Network via cdn.web-development-blog.com

Served from: www.web-development-blog.com @ 2012-02-08 10:50:37 -->
