[whups] mail-filter.php and postfix
Jens Hansen
mailinglists at eminenz.ath.cx
Wed Jan 26 12:58:32 PST 2005
I tried some things and ended up with
if ($fp=fopen("php://stdin","r")) {
while (!feof($fp)) {
$text .= fgets($fp,512);
print $text;
}
fclose($fp);
}
which seems to work better. But now i get
Fatal error: Call to undefined function: notify() in
/srv/www/htdocs/horde/whups/lib/Ticket.php on line 78
after running the script.
Jens
-----Original Message-----
From: whups-bounces at lists.horde.org [mailto:whups-bounces at lists.horde.org]
On Behalf Of Jason M. Felice
Sent: Wednesday, January 26, 2005 8:00 PM
To: whups at lists.horde.org
Subject: Re: [whups] mail-filter.php and postfix
Jan Schneider wrote:
> Zitat von Jens Hansen <mailinglists at eminenz.ath.cx>:
>
>> It does, when i put the exit before the loop it exits the scripts. I
>> can put
>> it even in the loop. But as soon as the exit is after the loop, i get
>> the
>> error message.
>
>
> The you have a really broken PHP binary.
What about the whole STDIN vs. fopen("php://stdin") thing? Perhaps the
version doesn't have STDIN? (I want to check this out, but haven't got
the time just now.)
--
Jason M. Felice
Cronosys, LLC <http://www.cronosys.com/>
216.221.4600 x302
--
Whups mailing list - Join the hunt: http://horde.org/bounties/#whups
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: whups-unsubscribe at lists.horde.org
More information about the whups
mailing list