You are here: functions for sorting/paging functionality for imap mailboxes « PHP Programming Language « IT news, forums, messages
functions for sorting/paging functionality for imap mailboxes

Posted by Yashesh Bhatia on 06/25/07 13:42

hello,

i'm implementing an imap based mail client and want to provide
sorting / paging functionality for the inbox.
there's a function to retrieve headers imap_headers (http://
www.php.net/imap_headers) however, this gets
headers for all messages in a mailbox(inbox).

is there any function that will fetch headers similar to a SQL LIMIT
clause (LIMIT offset, row_count) - so something like fetch 10 headers
starting from 11.

the sorting can be accomplished by the function imap_sort so i'm
kindof stuck to get the paging functionality
efficiently. (of course one can get all headers and then use the array
index to simulate limit offset, row_count).

thanks in advance.

yashesh bhatia

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация