|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-06-24 23:13 UTC] kalowsky@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 16:00:01 2025 UTC |
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?