[pmwiki-users] mailform recipe
John Rankin
john.rankin at affinity.co.nz
Wed Mar 1 15:07:17 CST 2006
On Thursday, 2 March 2006 8:14 AM, Susan <pmwiki at onebit.ca> wrote:
>I'm using the emailform_2005-10-19.php
>http://www.pmwiki.org/wiki/Cookbook/MailForm
>
>sample site:
>http://www.onebit.ca/cricket/index.php?pagename=Drafts.Mailform&emailform=error
>
>(edit password is " guest ")
>
>It tells me an error has occurred.
>
>Ideas?
>
>Susan
>
I think it arises from this line:
if (!$to || !$_REQUEST['text']) $msg = 'error';
If either the to address or message text is blank, the form returns 'error'.
--
JR
--
John Rankin
More information about the pmwiki-users
mailing list