|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-10-02 15:47 UTC] pc at philiptcarey dot com
[2001-10-09 20:47 UTC] pc at philiptcarey dot com
[2002-06-26 23:01 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Jan 07 06:00:01 2026 UTC |
PHP 4.06 Code which works on apache 1.3.2 on Win2k fails on linux with the same versions of PHP and apache. Depending on the extensions which are enabled either output terminates completely, or if the only enabled extension is imap then authentication fails. Code shown: $server = "bluetrain.com"; $port = ":143/imap"; $account = "pcarey@bluetrain.com"; $passwd = "x0x0x0"; // not really... $connstr = '\{' . $server . $port . '}' . imap_utf7_encode($mailbox); $connstr = "\{$server$port}" . imap_utf7_encode($mailbox); $mbox = imap_open ($connstr, $account, $passwd) or die(imap_last_error ()); Seems like this would have been noticed by the folks that do horde, since horde will not work and fails with the same behavior. A variety of servers, accounts, syntaxes have been attempted, but it is never possible to authenticate from linux, apache 1.3.2 php4.06.