Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

form

Summary

Provides a view that generates an E-mail containing the data that was posted.

Description

This module is one of the simplest modules in eZ publish. It only contains one view, which is the "process" view. This view can only be called using HTTP POST (form action). The process view simply sends out an e-mail containing the data that was posted using the input fields. This module does not act as an interface to an engine inside the eZ publish kernel. It only provides a simple form processing mechanism.

Please note that the view provided by this module is insecure by design. It is possible to specify the sender's and the receiver's E-mail address using certain hidden input fields. In other words, it can be easily exploited by spammers. That's why this module is disabled by default. It can be enabled by setting "Module=enabled" in the [FormProcessSettings] block within an configuration override file for "site.ini". Hint: by commenting out the sender/receiver lines within the switch statement in "/kernel/form/process.php" it is possible to make this module much more secure than it is by default.

Views

NameSummary
process Provides an interface for creating an E-mail based on form data.

Balazs Halasy (23/02/2005 9:47 am)

Svitlana Shatokhina (30/03/2006 8:42 am)


Comments

There are no comments.