<?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"
	>
<channel>
	<title>Comments on: Fight Web to Lead Spam w/ Akismet</title>
	<atom:link href="http://sfdc.arrowpointe.com/2007/05/24/fight-web-to-lead-spam-w-akismet/feed/" rel="self" type="application/rss+xml" />
	<link>http://sfdc.arrowpointe.com/2007/05/24/fight-web-to-lead-spam-w-akismet/</link>
	<description>Authored by Scott Hemmeter of Arrowpointe Corp, this blog is written from the perspective of a Salesforce.com solution provider and contains information on Arrowpointe's AppExchange products as well as tips, findings, sample code, functionality wishes, etc.</description>
	<pubDate>Wed, 20 Aug 2008 18:01:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: X-Squared On Demand</title>
		<link>http://sfdc.arrowpointe.com/2007/05/24/fight-web-to-lead-spam-w-akismet/#comment-60098</link>
		<dc:creator>X-Squared On Demand</dc:creator>
		<pubDate>Thu, 03 Jul 2008 03:47:53 +0000</pubDate>
		<guid isPermaLink="false">http://sfdc.arrowpointe.com/2007/05/24/fight-web-to-lead-spam-w-akismet/#comment-60098</guid>
		<description>&lt;strong&gt;Wordpress, Akismet, and Web-to-Salesforce...&lt;/strong&gt;

Scott Hemmeter posted a blog entry about using Akismet and PHP to check Web-to-Lead submissions for spam.  We are going to start an experiment using Akismet in the following scenarios:
-Web-to-Lead with Google AdWords enabled
-Web-to-Case
......</description>
		<content:encoded><![CDATA[<p><strong>Wordpress, Akismet, and Web-to-Salesforce&#8230;</strong></p>
<p>Scott Hemmeter posted a blog entry about using Akismet and PHP to check Web-to-Lead submissions for spam.  We are going to start an experiment using Akismet in the following scenarios:<br />
-Web-to-Lead with Google AdWords enabled<br />
-Web-to-Case<br />
&#8230;&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Hemmeter</title>
		<link>http://sfdc.arrowpointe.com/2007/05/24/fight-web-to-lead-spam-w-akismet/#comment-59816</link>
		<dc:creator>Scott Hemmeter</dc:creator>
		<pubDate>Tue, 06 May 2008 15:06:33 +0000</pubDate>
		<guid isPermaLink="false">http://sfdc.arrowpointe.com/2007/05/24/fight-web-to-lead-spam-w-akismet/#comment-59816</guid>
		<description>@Ejay Queja:

Doing this will require something custom.  You can look into 3rd party application on AppExchange or write something.  If you write something, what you'll want to do post your form to that page (similar to how I do it on this post).  Different, though, than the script in this post, you'll need to have that page perform lookup(s) in Salesforce to match an existing lead and, if found, update it.  If not found, then you could create the Lead via the API or send it through to Web-to-Lead. 

If you want consulting help with this, please complete the Contact Us form on this site and I'll see what I can do.</description>
		<content:encoded><![CDATA[<p>@Ejay Queja:</p>
<p>Doing this will require something custom.  You can look into 3rd party application on AppExchange or write something.  If you write something, what you&#8217;ll want to do post your form to that page (similar to how I do it on this post).  Different, though, than the script in this post, you&#8217;ll need to have that page perform lookup(s) in Salesforce to match an existing lead and, if found, update it.  If not found, then you could create the Lead via the API or send it through to Web-to-Lead. </p>
<p>If you want consulting help with this, please complete the Contact Us form on this site and I&#8217;ll see what I can do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Web to lead help - Mike Simonds</title>
		<link>http://sfdc.arrowpointe.com/2007/05/24/fight-web-to-lead-spam-w-akismet/#comment-59815</link>
		<dc:creator>Web to lead help - Mike Simonds</dc:creator>
		<pubDate>Tue, 06 May 2008 13:50:40 +0000</pubDate>
		<guid isPermaLink="false">http://sfdc.arrowpointe.com/2007/05/24/fight-web-to-lead-spam-w-akismet/#comment-59815</guid>
		<description>[...] function from the PHPToolKit.   OR   You could use this system that is free and can be downloaded here  If you have to write a form and capture them it can be done quite easily  Do you know PHP? If you [...]</description>
		<content:encoded><![CDATA[<p>[...] function from the PHPToolKit.   OR   You could use this system that is free and can be downloaded here  If you have to write a form and capture them it can be done quite easily  Do you know PHP? If you [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ejay Queja</title>
		<link>http://sfdc.arrowpointe.com/2007/05/24/fight-web-to-lead-spam-w-akismet/#comment-59813</link>
		<dc:creator>Ejay Queja</dc:creator>
		<pubDate>Tue, 06 May 2008 04:08:42 +0000</pubDate>
		<guid isPermaLink="false">http://sfdc.arrowpointe.com/2007/05/24/fight-web-to-lead-spam-w-akismet/#comment-59813</guid>
		<description>I know this is out of the topic but ii hope you can help a noob on the web to lead process. Is there a way wherein i can just update the fields via web to lead if the lead has an existing record in the lead tab?

do direct me to the right direction please.

thanks a lot.</description>
		<content:encoded><![CDATA[<p>I know this is out of the topic but ii hope you can help a noob on the web to lead process. Is there a way wherein i can just update the fields via web to lead if the lead has an existing record in the lead tab?</p>
<p>do direct me to the right direction please.</p>
<p>thanks a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Hemmeter</title>
		<link>http://sfdc.arrowpointe.com/2007/05/24/fight-web-to-lead-spam-w-akismet/#comment-59364</link>
		<dc:creator>Scott Hemmeter</dc:creator>
		<pubDate>Tue, 25 Mar 2008 14:41:36 +0000</pubDate>
		<guid isPermaLink="false">http://sfdc.arrowpointe.com/2007/05/24/fight-web-to-lead-spam-w-akismet/#comment-59364</guid>
		<description>@Carlos:

If RingLead posts it's data directly to Salesforce's web to lead rather than connecting via the API, then this might work.  I don't know anything about RingLead, so I can't say for sure.  The script is expecting a set of data that comes through with the field names as used by Web-To-Lead.

I'd be happy to discuss with you and the folks at RingLead if you help facilitate the connection.  You already have my email, so let me know.</description>
		<content:encoded><![CDATA[<p>@Carlos:</p>
<p>If RingLead posts it&#8217;s data directly to Salesforce&#8217;s web to lead rather than connecting via the API, then this might work.  I don&#8217;t know anything about RingLead, so I can&#8217;t say for sure.  The script is expecting a set of data that comes through with the field names as used by Web-To-Lead.</p>
<p>I&#8217;d be happy to discuss with you and the folks at RingLead if you help facilitate the connection.  You already have my email, so let me know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carlos</title>
		<link>http://sfdc.arrowpointe.com/2007/05/24/fight-web-to-lead-spam-w-akismet/#comment-59361</link>
		<dc:creator>Carlos</dc:creator>
		<pubDate>Tue, 25 Mar 2008 12:45:03 +0000</pubDate>
		<guid isPermaLink="false">http://sfdc.arrowpointe.com/2007/05/24/fight-web-to-lead-spam-w-akismet/#comment-59361</guid>
		<description>We feed our web2lead to Ringlead's declone before it is routed to sfdc.  Will this script work in this scenario?</description>
		<content:encoded><![CDATA[<p>We feed our web2lead to Ringlead&#8217;s declone before it is routed to sfdc.  Will this script work in this scenario?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jzilla</title>
		<link>http://sfdc.arrowpointe.com/2007/05/24/fight-web-to-lead-spam-w-akismet/#comment-59353</link>
		<dc:creator>Jzilla</dc:creator>
		<pubDate>Mon, 24 Mar 2008 23:51:04 +0000</pubDate>
		<guid isPermaLink="false">http://sfdc.arrowpointe.com/2007/05/24/fight-web-to-lead-spam-w-akismet/#comment-59353</guid>
		<description>According to my phpinfo &lt;strong&gt;allow_url_fopen&lt;/strong&gt; is ON. I don't know if it matters, but &lt;strong&gt;allow_url_include&lt;/strong&gt; is OFF.

I'm curious if Kumar or ttboy ever resolved their issues.

Either way, thanks for the follow-up.</description>
		<content:encoded><![CDATA[<p>According to my phpinfo <strong>allow_url_fopen</strong> is ON. I don&#8217;t know if it matters, but <strong>allow_url_include</strong> is OFF.</p>
<p>I&#8217;m curious if Kumar or ttboy ever resolved their issues.</p>
<p>Either way, thanks for the follow-up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Hemmeter</title>
		<link>http://sfdc.arrowpointe.com/2007/05/24/fight-web-to-lead-spam-w-akismet/#comment-59344</link>
		<dc:creator>Scott Hemmeter</dc:creator>
		<pubDate>Mon, 24 Mar 2008 15:26:21 +0000</pubDate>
		<guid isPermaLink="false">http://sfdc.arrowpointe.com/2007/05/24/fight-web-to-lead-spam-w-akismet/#comment-59344</guid>
		<description>@Jzilla:

register_globals can be off.  It's off by default in PHP5, I believe.

I did a bit of digging into the code and the Akismet PHP5 class I am using uses PHP's remote file functions, which requires &lt;b&gt;allow_url_fopen&lt;/b&gt; to be ON in your PHP setup.  I think there was a recent issue with this setting and many web hosts (including mine) turned this off by default to protect their customers.  However, with my web host, I can edit the PHP.ini file and turn it back on.  Check to see if &lt;b&gt;allow_url_fopen&lt;/b&gt; is ON.  If not, see if you can turn it on via your php.ini.  I don't think it's a major issue to turn on (do your own research), but web hosts were turning it off by default to protect the masses.</description>
		<content:encoded><![CDATA[<p>@Jzilla:</p>
<p>register_globals can be off.  It&#8217;s off by default in PHP5, I believe.</p>
<p>I did a bit of digging into the code and the Akismet PHP5 class I am using uses PHP&#8217;s remote file functions, which requires <b>allow_url_fopen</b> to be ON in your PHP setup.  I think there was a recent issue with this setting and many web hosts (including mine) turned this off by default to protect their customers.  However, with my web host, I can edit the PHP.ini file and turn it back on.  Check to see if <b>allow_url_fopen</b> is ON.  If not, see if you can turn it on via your php.ini.  I don&#8217;t think it&#8217;s a major issue to turn on (do your own research), but web hosts were turning it off by default to protect the masses.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jzilla</title>
		<link>http://sfdc.arrowpointe.com/2007/05/24/fight-web-to-lead-spam-w-akismet/#comment-59334</link>
		<dc:creator>Jzilla</dc:creator>
		<pubDate>Mon, 24 Mar 2008 04:16:36 +0000</pubDate>
		<guid isPermaLink="false">http://sfdc.arrowpointe.com/2007/05/24/fight-web-to-lead-spam-w-akismet/#comment-59334</guid>
		<description>Thanks for the reply Scott.

I tried adding the error_reporting code, but no errors show up. Still just the blank page. I tried just adding phpinfo(); to see what's running, and it's reporting PHP 5.2.3, with cURL enabled (cURL Information: libcurl/7.15.3 OpenSSL/0.9.7a zlib/1.2.3 libidn/0.5.6).

I checked the php.ini file and it has register_globals set to Off -  might that be an issue? As well as some Zend extensions, nothing else.

Any other ideas? Is there something I should ask the webhost?

In the meantime, as a temporary measure, I created a return.php file with a little cURL header redirect function in it to redirect to the retURL address, adding include('return.php'); to the index.php file (I couldn't get it to work otherwise). 

It's not particularly elegant, but basically works, though it ends up "calling up" the retURL page within the index.php script and folder (presumably because of the include), instead of actually redirecting to the .html page. I'd rather it just go directly to the html confirmation page, but haven't been able to figure it out. I have little-to-none PHP skills.</description>
		<content:encoded><![CDATA[<p>Thanks for the reply Scott.</p>
<p>I tried adding the error_reporting code, but no errors show up. Still just the blank page. I tried just adding phpinfo(); to see what&#8217;s running, and it&#8217;s reporting PHP 5.2.3, with cURL enabled (cURL Information: libcurl/7.15.3 OpenSSL/0.9.7a zlib/1.2.3 libidn/0.5.6).</p>
<p>I checked the php.ini file and it has register_globals set to Off -  might that be an issue? As well as some Zend extensions, nothing else.</p>
<p>Any other ideas? Is there something I should ask the webhost?</p>
<p>In the meantime, as a temporary measure, I created a return.php file with a little cURL header redirect function in it to redirect to the retURL address, adding include(&#8217;return.php&#8217;); to the index.php file (I couldn&#8217;t get it to work otherwise). </p>
<p>It&#8217;s not particularly elegant, but basically works, though it ends up &#8220;calling up&#8221; the retURL page within the index.php script and folder (presumably because of the include), instead of actually redirecting to the .html page. I&#8217;d rather it just go directly to the html confirmation page, but haven&#8217;t been able to figure it out. I have little-to-none PHP skills.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Hemmeter</title>
		<link>http://sfdc.arrowpointe.com/2007/05/24/fight-web-to-lead-spam-w-akismet/#comment-59232</link>
		<dc:creator>Scott Hemmeter</dc:creator>
		<pubDate>Tue, 18 Mar 2008 03:45:39 +0000</pubDate>
		<guid isPermaLink="false">http://sfdc.arrowpointe.com/2007/05/24/fight-web-to-lead-spam-w-akismet/#comment-59232</guid>
		<description>@Jzilla:I have not been able to re-produce the issue you are experiencing.  One thing you could try is to add the following lines of PHP code to the beginning of the index.php script.

&lt;code&gt;error_reporting(E_ALL);ini_set('display_errors', '1');&lt;/code&gt;

This will turn on error handling.</description>
		<content:encoded><![CDATA[<p>@Jzilla:I have not been able to re-produce the issue you are experiencing.  One thing you could try is to add the following lines of PHP code to the beginning of the index.php script.</p>
<p><code>error_reporting(E_ALL);ini_set('display_errors', '1');</code></p>
<p>This will turn on error handling.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jzilla</title>
		<link>http://sfdc.arrowpointe.com/2007/05/24/fight-web-to-lead-spam-w-akismet/#comment-59229</link>
		<dc:creator>Jzilla</dc:creator>
		<pubDate>Tue, 18 Mar 2008 00:21:52 +0000</pubDate>
		<guid isPermaLink="false">http://sfdc.arrowpointe.com/2007/05/24/fight-web-to-lead-spam-w-akismet/#comment-59229</guid>
		<description>Hi. 

Was there ever any resolution to the retURL redirect issue Kumar and ttboy were having? I'm having the same issue. Lead data is entering sforce and appears to be working otherwise, but no redirect to the retURL; it just sits on the blank page index.php.

I've checked the items you mentioned previously, but still to no avail.

Any info appreciated.</description>
		<content:encoded><![CDATA[<p>Hi. </p>
<p>Was there ever any resolution to the retURL redirect issue Kumar and ttboy were having? I&#8217;m having the same issue. Lead data is entering sforce and appears to be working otherwise, but no redirect to the retURL; it just sits on the blank page index.php.</p>
<p>I&#8217;ve checked the items you mentioned previously, but still to no avail.</p>
<p>Any info appreciated.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
