Problem in using php-imap in rh7.3

From: Date: Wed, 10 Jul 2002 02:03:24 +0000
Subject: Problem in using php-imap in rh7.3
Groups: php.general 
Request: Send a blank email to php-general+get-106643@lists.php.net to get a copy of this message
Hi all, I got a problem when I use php's imap functions in rh7.3 system. In the php script file imaptest.php I wrote such code: $user="usernamexxx"; $password="passxxx"; $mbox = imap_open ("{localhost:143}", $user, $password)
     or die("can't connect: ".imap_last_error()
But when I use konqueror visit it through http, the result shows: " Warning: Couldn't open stream {localhost:143} in /var/www/html/mail/imaptest.php on line 4 can't connect: Certificate failure for localhost: self signed certificate: /C=--/ST=SomeState/L=SomeCity/O=SomeOrganization/OU=SomeOrganizationalUnit/CN=localhost.localdomain/Email=root@localhost.localdomain " I found such words in the maillog: Jul 10 10:09:43 revived imapd[1465]: imap service init from 127.0.0.1 Jul 10 10:09:43 revived imapd[1465]: Command stream end of file, while reading line user=??? host=UNKNOWN I'm sure that my imap works well. Because I can use Kmail receive mails through my imap. Who can help me? Thank all. Best regard! Yours,
            					     Xun Chen                                       白光闪耀  烟雾迷漫  黄沙满天  苍日清岚
_________________________________________________________________ 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.microsoft.com/cn

« previous php.general (#106643) next »