RE: mail-filter.php and postfix
"Jens Hansen" <[email protected]> Wed, 26 Jan 2005 21:58:32 +0100
| Newsgroups | gmane.comp.horde.whups |
|---|---|
| Message-ID | <[email protected]> |
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: [email protected] [mailto:[email protected]]
On Behalf Of Jason M. Felice
Sent: Wednesday, January 26, 2005 8:00 PM
To: [email protected]
Subject: Re: [whups] mail-filter.php and postfix
Jan Schneider wrote:
> Zitat von Jens Hansen <[email protected]>:
>
>> 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: [email protected]
--
Whups mailing list - Join the hunt: http://horde.org/bounties/#whups
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]