php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56462 empty row in $pop->get_message_ids();
Submitted: 2005-07-22 18:27 UTC Modified: 2005-07-22 19:26 UTC
From: xing at mac dot com Assigned:
Status: Not a bug Package: POP3 (PECL)
PHP Version: 5.0.3 OS: Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: xing at mac dot com
New email:
PHP Version: OS:

 

 [2005-07-22 18:27 UTC] xing at mac dot com
Description:
------------
PHP 5.0.4
POP3 server = dbmail 2.0.4 www.dbmail.org
PECL POP3 version = Latest 1.0.1

------------

$ids = $pop->get_message_ids();

In my tests the above would always produce an array where the first array element contain null/empty string elements for both "message_id" and "id" fields.

Looks like there might be incompatibility in parsing server return from dbmail-pop3d daemon. An extra empty array row is prepended.

Let me know what I need to do give a more detailed debug info from the server to resolve/pinpoint this issue.

Thanks.

Xing Li



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-07-22 18:32 UTC] ilia at prohost dot org
Please provide the raw response of the pop3 server you are using.
 [2005-07-22 18:39 UTC] xing at mac dot com
UIDL
+OK Some very unique numbers for you
1 fb1a73504faff17a2b85a67255686990
2 fadaadbccb319a4c6a69fdc5b03cf02a
3 f9a792be64c16f5672317455cd640a47
4 f8b8741e5665f022486124d45dfef4a7
5 f05469efd6f3eda1ad58c33a05e35f30
6 ee18cf925a60635cd3f58ec049927062
7 ec81e43ff9783eb0428ae10b5c925ab7
8 ea4aa15bfea17b5f453efb795dc0df66
9 e85c24575428fbc52692a02a2a7223cd
10 e5cb22a9b0ad73967429a38dc4e2f542
11 df77634e9454552d3b199090a0213771
12 db50c06a24100ad3219ed3a75a1e1607
13 da3e48d00ffcab39cedd1aa23d9ea320
14 d83752dc826c136767b6a69dcca13f0f
15 d7f67b0c9f24069185718acd0a515f2d
16 d4d219795cde9c6d878d5400e1252415
17 d4266312849ba8f8b6cba44711e9fd7b
18 d38a45c34943e364a5cda4daee5c9ecf
19 d364945dec491153dc867ff0d5d7c8ec
20 d212721b03b9d1f1afb7e522ef6892b0
21 d1b34772f2aee820206d0ea294012ecc
22 d14fddb8194de6f8db6856b0ac8627cc
23 cfee88d56f25c3a136419e95fa49aa23
24 cf6f32dbfee92bd11c5f4578b7cdf02b
25 cc8dc6de8b3215a1a85a573eeffd34f9
26 cc7030f55dcb2b87cbc08203b04696ab
27 cc6be1308699e32627772a4bf5039fc4
28 cc17dc9fcc6c06268c0e0dfb8ea48917
29 ca0da293d1cb847d6c0b04c67bd9c69a
30 c5f4191d895757760a9eeef0768ed5e7
31 c4ab5b532c9a070adeda227017c96c46
32 c1529a50f5c4a738d40e1b344c69e7c1
33 bf9ccebf34ac65a674d24652e498cb60
34 bf811728bfa93828fd92f28f59389cad
35 bcff71c00719292d0fff1cdbe801c023
36 b7a04cc5edb50a3f38051a4053ecfb88
37 b4b21705f58cb438cfbe7155d38dd44f
38 b27a3c8785137ca66ad1c4871d048ce2
39 b1ab5905580fb501a5d89316b34fe744
40 aebdde8ed419b7cd8bd886e8bc9c93c8
41 a90b4ab122d97908885e0f91b61a9243
42 a59cf957eda3c8caded141f19967d805
43 9e84a97f8909965e7986d2a42c19e370
44 9a135af9ad6073ffb3b9445b1e180e81
45 98fb67936a3ab6f0a8dd6b90a5776a4c
46 980b8c242fdac5074c0b8030bcb1885a
47 94b60c74fff79d3310a52777992afbae
48 9373f0e97f3cf55b8847af31fbd261ec
49 932c6a45ad741c8b047eb62287956572
50 92ef51367c54daf5d670db134f816e0d
51 90bd513135ccdae2a1cf8a3a461250cc
52 8e70619c36d89891ed5b926128a802d3
53 8a1822f5a7810f23626564fbf7cefd11
54 8697a9a67797d30c7c8cc5bca4498d23
55 84eab5a8913f79163a519c0474c1e62a
56 8466a01cbbe764719bfa43099c275876
57 82520698a954dbce3eb0ed5ad883bb75
58 81fb2b19da4fe0b0623ca0eea99ebe3b
59 809f6f029e2ee1b41a485821cb7fbf33
60 7f47bffcabb399f1c48667e1d97f8bf7
61 7caec5e57ac59690bbdc3dd9b81daaed
62 7c93a26db6483bec133fb3e19e38bf3d
63 799314075e61ac554c5f71dd04ac165a
64 78ab2be671014b424b36acfa0a65ff27
65 787c626b5bb5e237de202d9e1a90c4b2
66 775afd2a62845f49a7b2b8edadb2905e
67 7711e62bfaae7c5cc27d35f98a9ea399
68 7401514d2eb9ea56f1360b1b44a75ec7
69 73ca18c7954b7e57ef18e73ac8e334ac
70 73b4a9af355515a81b9da909a45e361f
71 72f9c2405a4237c63c2fbbf35835b56f
72 6ff6fa0564786cd8511cf201f2155e88
73 6c1b9f0fe7b546a8fc77a8c86c122b6a
74 6b4b47621fb4b574973ed5b759935779
75 696f9afe48df226e533c23ca75693941
76 68518aa04ec1a9df9336a0ff6cf672b6
77 6610a293b10cd84e76828c4aede86527
78 635ae372bd561024746acf6b55c49873
79 6117c58eec906a653c941e9e6dad96ce
80 6033fbca37aa59319f1ae9e77ab6bec8
81 5f669e31386a4b1ddf07993d541068e6
82 5f2d85678cbbfedff8c1caf851a13d08
83 5a4a5b2ec4e59b3580d17fd134cae7f7
84 59d6ee66a6a2b3ca9cb0eb498d26621a
85 58350c6416c647dd5b4a51e0a8ce0623
86 55b19c7e3c0a8863aac34148e9b1a93a
87 4c195d4c3b60b8c1bc7fe2ecaa9d79b2
88 4bf0c5439b997ef2286995f6df493b22
89 4a3d8d40b6e4f7f745b88fee3a7f791a
90 43ccb2da721bfccd5ded237f0986ecd9
91 421678078c2e34122945c8e26b1a2ffc
92 41d0ce0d5f342dd6a322d75996f80bb9
93 40e4979cb3b1e50785275e68ef1e1fe2
94 3f8fef1cece5cc3020d12c8d4863b634
95 3e33f45c600a59cfa3dc27825b90bdab
96 3c6c9561a692aa9394177ff49fb1937b
97 39601bc27b2469682d45d36db6433b0b
98 395b8e24c3a80bfbb90141f0c731f6f8
99 379f7e6b5f60d661f61b639271ce8a61
100 2d1fafe2719210e244522b84bbc29770
101 2ccd95b5af1fbfa8625e40e4d3284c8d
102 28afd2a112bb1aeff3c1697f6d0c4c17
103 282782c8e0a734185ca5dc8169cc7b6c
104 26ca43463afa3ae9ff3fcb40118ed853
105 26326b87dee0920f5fa3334dd65cae65
106 25055d678c32d9d60fe2f7f8520c5712
107 22b6bab78f191ea32c7be239723723ab
108 22a42159c207e4d060b9ab17ea61ba74
109 1c869e914926fc8889ee8e5425892752
110 1b95e5ed60abb0cda8898f21ee60f26f
111 1b2036fc14a2c2bfc4a8510d74423113
112 17a6719e012aae36ef283d436364765a
113 16353548e6221c9de6931864269351d4
114 1249449f8e25d5196bb4c67ea15f368e
115 0f1a94e40ff09a7c592ebcfdd361cd22
116 0dd0dd47d6215251fb701f8548dd22b2
117 0a416d322aa8a103d6cf2f138c1b4d51
118 08479b685c3b2a3ca4e2021d9484bea6
119 0407a0b444a91b98b3ad560a9ecb0460
120 03d55a0463ae69309ab9c73c93adc81a
121 01c8a9011b4686d80bcf5aabd84c326a
122 dac827b003740ddc0e4c9b6015508f67
123 bb0183088f9932d5a7e0d8f397d8998a
124 bac944e828f8f5fc688b1ba4966d7a75
125 8fb2123c88067210f1c7138b3e543209
126 8ec79c7819a08122825f5331fbdd94ac
127 5d567ecfd8c314c3f686765a7272a2d6
128 431b19974df4f2a1fc79dd39c6eedaa1
129 2eabee36c83de1f45f389e6657857a74
130 0adf853ad8355656b42a3ba818b61e39
131 016db78f85892c5490fb61e403949907
.
[telnet prompt]
 [2005-07-22 19:26 UTC] xing at mac dot com
I'm retarded. Sorry for the bogus bug report. The cause is that I assumed the array returned start at the index of 0, which is the case for most array returns, but get_message_ids() return an array with starting array index of 1. 

My bad.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 18:01:31 2024 UTC