[pmwiki-users] reCAPTCHA

Hans design5 at softflow.co.uk
Thu Jan 1 15:03:17 CST 2009


Thursday, January 1, 2009, 8:09:40 PM, Radu Luchian wrote:

> Hans, would it not be more efficient to use

> if ($action=='edit') include_once("$FarmD/cookbook/captcha.php");

> rather than just the include?

I don't think that would work. You would want a captcha random number
and field displayed within a form under normal circumstances, not
just for $action=='edit'
Perhaps you mean to have the captcha field when the action is not
edit, which would make some sense:

if (!$action=='edit') include_once("$FarmD/cookbook/captcha.php");



  ~Hans




More information about the pmwiki-users mailing list