Bug #13179 Updated: Cannot open two concurrent IMAP connections?

From: Date: Tue, 25 Jun 2002 03:13:55 +0000
Subject: Bug #13179 Updated: Cannot open two concurrent IMAP connections?
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-11999@lists.php.net to get a copy of this message
ID: 13179 Updated by: kalowsky@php.net Reported By: mot@mediaweb.gr -Status: Open +Status: Bogus Bug Type: IMAP related Operating System: RedHat Linux 7.1 PHP Version: 4.0.6 New Comment: Thank you for taking the time to report a problem with PHP. Unfortunately your version of PHP is too old -- the problem might already be fixed. Please download a new PHP version from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. Previous Comments: ------------------------------------------------------------------------ [2001-09-06 12:16:35] mot@mediaweb.gr Consider this: class foo { var $con; function foo //constructor { $this->con = imap_open (...); } function bar { $other = imap_open (...); imap_do_something ($other, ....); imap_close ($other); } function destroy { imap_do_something($this->con, ....); imap_close ($this->con); } $test = new foo(); $test->bar(); $test->destroy(); well, when I open the second IMAP connection ($other), everything works OK. After that, though, if I call some function with the first connection ($this->con) nothing works. Any ideas? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=13179&edit=1

« previous php.bugs (#11999) next »