note 27624 added to function.exit
| From: | bob at bobsnetz dot de | Date: | Fri, 13 Dec 2002 09:53:34 +0000 |
| Subject: | note 27624 added to function.exit | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-40855@lists.php.net to get a copy of this message | ||
well, i've been buggin around with qmail lately in order to create a post-by-emai-too BB...
it showed that qmail starts bouncing emails as soon as the script returns anything.
so if you want it to work silently use either the exit or return expressions and/or make sure the
script doesn't output headers (#!/bin/php -q), avoid print and echo and remove all newlines and
spaces around the <? ?> script block.
--
http://www.php.net/manual/en/function.exit.php
http://master.php.net/manage/user-notes.php?action=edit+27624
http://master.php.net/manage/user-notes.php?action=delete+27624
http://master.php.net/manage/user-notes.php?action=reject+27624