[ZendTo] Re: new to zendto --- couple of questions

Jules Jules at Zend.To
Mon Dec 10 10:58:45 GMT 2012


Just hit a snag with AreYouAHuman. The audio version is *completely* 
inaudible and unintelligible.
Not good.
:-(

On 10/12/2012 10:25, Jules wrote:
>
> On 10/12/2012 09:28, Julian Field wrote:
>>
>> On 07/12/2012 16:35, Rob Lewis wrote:
>>> Hello Everyone,
>>> Just wanted to say to the developers of this product.  Thanks for 
>>> this.  Pretty easy to setup, and my users are already testing.
>> Thanks! Glad you like it. :-)
>>> Couple of items.
>>> First, gmail, and yahoo kept flagging emails as junk.  Fairly 
>>> certain this was from sendmail inserting received from 
>>> apache at localhost <mailto:apache at localhost>. I tried several things, 
>>> and finally gave up, and replaced sendmail with postfix.
>> You can do this with a setting in php.ini to say something similar to
>> sendmail_path = "/usr/sbin/sendmail -t -i -fdo-not-reply at york.ac.uk"
>>
>> That simply overrides the default "sendmail" command used by the PHP 
>> mail() function.
>>>
>>> Secondly, is there info on what would be required to replace the 
>>> Recaptcha module with an alternative.  I much prefer the Playthru 
>>> test from http://areyouahuman.
>>>
>> The code to call the recaptcha module is all in 
>> /opt/zendto/www/{download.php,pickup.php,req.php,verify.php} and it's 
>> fairly obvious code when you take a look at it. It basically just 
>> does this:
>>
>>       $reCaptchaPrivateKey = $theDropbox->recaptchaPrivateKey();
>>       if ($reCaptchaPrivateKey != 'disabled') {
>>         $resp = recaptcha_check_answer ($reCaptchaPrivateKey,
>>                                         $_SERVER["REMOTE_ADDR"],
>> $_POST["recaptcha_challenge_field"],
>> $_POST["recaptcha_response_field"]);
>>       }
>>
>>       if (($reCaptchaPrivateKey == 'disabled' || $resp->is_valid) .......
>>
>> So you just need to replace that with the code to call any CAPTCHA of 
>> your choice. Put the PHP code for your choice of captcha module into 
>> recaptchalib.php
> The "AreYouAHuman.com" captcha seems to be the best of the 
> alternatives I have seen, as it has an accessible interface in the 
> form of the audio option.
>
> I've already implemented it on my development site, and may well add 
> it as an option to the Google reCAPTCHA one.
> At the moment it's a bit of a hack, but I can tidy it up and offer it 
> as a proper alternative.
>
> Cheers,
> Jules
>
> -- 
> Julian Field MEng MBCS CITP CEng
> www.Zend.To
>
> Twitter: @JulesFM
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>
> 'Always do sober what you said you'd do drunk. That will teach you
>   to keep your mouth shut.' - Ernest Hemingway
>
> Jules
>
> -- 
> Julian Field MEng MBCS CITP CEng
> www.Zend.To
>
> Twitter: @JulesFM
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>
> South-east Iceland: Southeasterly, but southwesterly in north, becoming
> cyclonic later in west, 4 or 5. Rough or very rough, becoming moderate or
> rough. Showers. Mainly good.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20121210/78eec4ca/attachment-0001.html 


More information about the ZendTo mailing list