Bug #13179: Cannot open two concurrent IMAP connections?
| From: | mot at mediaweb dot gr | Date: | Thu, 06 Sep 2001 16:16:35 +0000 |
| Subject: | Bug #13179: Cannot open two concurrent IMAP connections? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-65262@lists.php.net to get a copy of this message | ||
From: mot@mediaweb.gr
Operating system: RedHat Linux 7.1
PHP version: 4.0.6
PHP Bug Type: IMAP related
Bug description: Cannot open two concurrent IMAP connections?
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 bug report at: http://bugs.php.net/?id=13179&edit=1