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
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users