<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>MachForm Community Forums Topic: reCAPTCHA ssl?</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: reCAPTCHA ssl?</description>
<language>en</language>
<pubDate>Wed, 06 May 2026 02:13:05 +0000</pubDate>

<item>
<title>yuniar on "reCAPTCHA ssl?"</title>
<link>https://www.machform.com/forums/topic/recaptcha-ssl#post-539</link>
<pubDate>Wed, 09 Jan 2008 22:25:06 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">539@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Yes, this is definitely will be included.
&#60;/p&#62;</description>
</item>
<item>
<title>tabonec on "reCAPTCHA ssl?"</title>
<link>https://www.machform.com/forums/topic/recaptcha-ssl#post-538</link>
<pubDate>Wed, 09 Jan 2008 22:21:55 +0000</pubDate>
<dc:creator>tabonec</dc:creator>
<guid isPermaLink="false">538@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;yunair,&#60;br /&#62;
This works great for me after modifying the file.  Do you think you could include it in the SSL patch zip file for future releases?
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "reCAPTCHA ssl?"</title>
<link>https://www.machform.com/forums/topic/recaptcha-ssl#post-229</link>
<pubDate>Mon, 05 Nov 2007 18:10:48 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">229@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi Imran,&#60;/p&#62;
&#60;p&#62;Thanks for letting us know about this. Current captcha code is indeed permanently set to use the standard http connection.&#60;/p&#62;
&#60;p&#62;To fix it, it's pretty easy.&#60;br /&#62;
Edit your &#60;strong&#62;includes/view-functions.php&#60;/strong&#62; file, search around line 1347, you will find this code:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$recaptcha_html = recaptcha_get_html(RECAPTCHA_PUBLIC_KEY, $error_code);&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;&#60;/code&#62;&#60;br /&#62;
Now, replace that code with the following:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if(!empty($_SERVER[&#38;#39;HTTPS&#38;#39;]) &#124;&#124; ($_SERVER[&#38;#39;HTTPS&#38;#39;] == &#38;#39;on&#38;#39;)){
	$use_ssl = true;
}else{
	$use_ssl = false;
}

$recaptcha_html = recaptcha_get_html(RECAPTCHA_PUBLIC_KEY, $error_code,$use_ssl);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;&#60;code&#62;&#60;/code&#62;&#60;br /&#62;
This should fix the problem. The captcha will use https connection for secure forms and normal http connection for standard forms.&#60;/p&#62;
&#60;p&#62;Let me know if this doesn't work for you.
&#60;/p&#62;</description>
</item>
<item>
<title>imranmohammed on "reCAPTCHA ssl?"</title>
<link>https://www.machform.com/forums/topic/recaptcha-ssl#post-227</link>
<pubDate>Mon, 05 Nov 2007 16:27:45 +0000</pubDate>
<dc:creator>imranmohammed</dc:creator>
<guid isPermaLink="false">227@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;I have the form working with CAPTCHA &#60;a href=&#34;http://www.domain.co.uk/webapps/view.php?id=1&#34; rel=&#34;nofollow&#34;&#62;http://www.domain.co.uk/webapps/view.php?id=1&#60;/a&#62; HOWEVER &#60;a href=&#34;https://www.domain.co.uk/webapps/view.php?id=1&#34; rel=&#34;nofollow&#34;&#62;https://www.domain.co.uk/webapps/view.php?id=1&#60;/a&#62; causes a security popup box in IE, and Firefox shows a broken SSL icon, so there's secure and insecure content on the page and the culprit is reCAPTCHA.&#60;/p&#62;
&#60;p&#62;According to &#60;a href=&#34;http://recaptcha.net/apidocs/captcha/&#34; rel=&#34;nofollow&#34;&#62;http://recaptcha.net/apidocs/captcha/&#60;/a&#62; - it says to use &#60;a href=&#34;https://api-secure.recaptcha.net&#34; rel=&#34;nofollow&#34;&#62;https://api-secure.recaptcha.net&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Please help, we're stuck as we can't process data
&#60;/p&#62;</description>
</item>

</channel>
</rss>
