[tpop3d-discuss] a silly question
Ivan Matveyev
hobot at zebratelecom.ru
Tue, 18 Feb 2003 16:25:57 +0300 (MSK)
I am trying to get auth_other work. I've already made my php shell script
get info from tpop3d, but I have no idea what is the problem with getting
the result string from the script.
I only get this message: "auth_other_recv_response: read: Bad file
descriptor; killing child".
Here goes php function, which writes to stdout:
function stdout($what)
{
$fd=fopen("php://stdout","w");
fwrite($fd,$what);
logs($what);
fclose($fd);
}
That's the only output from the script.
sample function call:
stdout("result\0YES\0uid\0mail\0gid\0mail\0");
Any ideas?
--
Ivan Matveyev, Zebra Telecom
Tech Dept, +7(095)741-0001