Do you want to Organize your Programs menu or setup your Quick Launch Tool Bar? Find out how by watching this screencast.

Mailing List

To join my mailing list,
enter your email address
and press Subscribe:

News

AzerTech.net News Feed

The Software Development Cycle
When BNT Solutions (http://www.bnt-solutions.net/) was incorporated in 2001 there was one goal in particular that ran as a thread through...



Introduction to Networking
The very first time I tried to setup a server at home I discovered something unexpected: What I thought was going to...



Subscribing to a Mailman list from any web page
It happens quite often that you want people to be able to subscribe to your Mailman mailing list from a...


Montreal Family

Time for Canadians to speak!
The Government of Canada has begun a nationwide series of consultations on copyright modernization.



Linked-In for business and pleasure
The Linked-In crowd will try to convince you that their service is good for business. This is more...



A sad day for free speech and copyright law
Here is some important, well written commentary from William Patry and, in response, Pamela Jones of Groklaw. First, illiam Patry explains why he...


EZ Web Forms via E-Mail Print
User Rating: / 0
PoorBest 
Article Index
EZ Web Forms via E-Mail
Page 2
Page 3
Page 4

Advanced Functionality

ezform contains a function that returns false when displaying a normal page and true when processing a form post operation. This can be used to determine if a form post operation has taken place. This is useful, for example, when you want to have a form that is cc'd to the person who submitted it. If the person is supposed to put his email address in Question #0, for example, the code might look like this:

if (  $form -> inpost () )
   
$form -> cc  $form -> data ( 0 );

$form -> prepare $questions  );

This adds a comma and the users' email address to the To email address. Note that this must be done before the prepare() method is called.



 
< Prev