next up previous
Next: HTML Up: Text Previous: message.php

Output

Following is the output SOW produces.

Cruel Collection agency
You owe us, pay now!

December 01, 1938

Dear Mr. Right

Your account 01010101 is past due by many many years.
To avoid further harassment, pay the full amount
of $0.01 now dammit!

To give the example a little more utility, you can extract the contents of the document into a string, and then use the PHP mail() routine to E-mail it to someone.

...
// reap_sow($sow); do not send to standard out

// read contents of document
$str= duplicate_buffer_sow($sow);

// use mail to send it off
mail(...);



Mark J. Olesen 2005-01-12