[pmwiki-users] PmForm (Mailform) questions

Roman romat2 at gmail.com
Thu Jun 14 07:51:27 CDT 2007


On 6/14/07, Roman <romat2 at gmail.com> wrote:
> I've tested everything on my working server and everything works fine.
> Then I've moved to live server and PmForm does not send any e-mail -
> no error message in (:message:) position and filled data are kept in
> form fields. I've checked that sending e-mail by PHP mail() function
> works - it is used in another recipe that I want to replace by PmForm.
> What else could be wrong? The only difference I am aware of is that
> working server is running PHP 4.4 while live one is running PHP 5.2.

I found it. On live server I limit available actions, so I added
pmform action to the list

$Actions_allowed = array('browse','search','rss','download','pmform');
if (! in_array($action, $Actions_allowed)) { $action='browse'; }

Roman



More information about the pmwiki-users mailing list