From:             [EMAIL PROTECTED]
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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to