Apth for Auth:IMAP
| From: | Jeroen Houben | Date: | Wed, 24 Mar 2004 17:12:00 +0000 |
| Subject: | Apth for Auth:IMAP | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-26745@lists.php.net to get a copy of this message | ||
Hi,
I wrote the original IMAP container for PEAR::Auth, but I don't have a CVS account, so I'm sending you small path for an error that occured while I was playing with PHP5. The timeout was set to an unset var $timeout, PHP4 must have ignored it somehow. It's in the function _checkServer.
function _checkServer() {
$fp = @fsockopen ($this->options['host'], $this->options['port'],
$errno, $errstr, $timeout);
Should be
$fp = @fsockopen ($this->options['host'], $this->options['port'],
$errno, $errstr, $this->options['timeout']);
Regards,
jeroen