note 123759 added to function.imap-fetchstructure

From: Date: Mon, 08 Apr 2019 11:33:44 +0000
Subject: note 123759 added to function.imap-fetchstructure
Groups: php.notes 
Request: Send a blank email to php-notes+get-210576@lists.php.net to get a copy of this message
If you logic based on compare structure strings, you must compare it case insensetive. <?php $p = imap_fetchstructure($this->_imap_resource, $mid); //do not compare $p->disposition == 'INLINE' if(preg_match('/inline/i', $p->disposition)) { //this works } ?> ---- Server IP: 208.43.231.9 Probable Submitter: 185.85.3.142 (proxied: 95.31.62.61) ---- Manual Page -- http://php.net/manual/en/function.imap-fetchstructure.php Edit -- https://master.php.net/note/edit/123759 Del: integrated -- https://master.php.net/note/delete/123759/integrated Del: useless -- https://master.php.net/note/delete/123759/useless Del: bad code -- https://master.php.net/note/delete/123759/bad+code Del: spam -- https://master.php.net/note/delete/123759/spam Del: non-english -- https://master.php.net/note/delete/123759/non-english Del: in docs -- https://master.php.net/note/delete/123759/in+docs Del: other reasons-- https://master.php.net/note/delete/123759 Reject -- https://master.php.net/note/reject/123759 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#210576) next »