note 29529 added to function.imap-bodystruct

From: Date: Sun, 16 Feb 2003 17:51:29 +0000
Subject: note 29529 added to function.imap-bodystruct
Groups: php.notes 
Request: Send a blank email to php-notes+get-44061@lists.php.net to get a copy of this message
I've found a bug in the fetch_boystruct function. When I am calling it with the argument 0 as section My apache server hangs up!! I know this function is still experimental but this should be fixed fast?! //connect to a host $mbox = imap_open("{".$this->parent->hostname."/".$this- >parent->hosttype.":110}INBOX", $this->parent->mail_nick, $this->parent->mail_pw); //read mail... $body = imap_body($mbox,$id,FT_PEEK); $head = imap_headerinfo($mbox,$id,80,80); $struct = imap_fetchstructure($mbox,$id); $bstruct = imap_bodystruct($mbox,$id,0); //this kills apache //under windows as well as under linux!!! Regards valen16 http://www.binary-pulse.org -- http://www.php.net/manual/en/function.imap-bodystruct.php http://master.php.net/manage/user-notes.php?action=edit+29529 http://master.php.net/manage/user-notes.php?action=delete+29529 http://master.php.net/manage/user-notes.php?action=reject+29529

« previous php.notes (#44061) next »