[PHP] IMAP Search

2006-06-19 Thread CodeHeads
Hello all, I am having a problem trying to get the subject corenspond with the message ID on a search. here is my code so far: echo h1Search Results/h1; $WORDS = $_POST['words']; $search1 = BODY \$WORDS\; $SEARCH = @imap_search($conn, $search1, SE_UID); $arrData = $SEARCH; $mailHeader =

[PHP] IMAP Search

2006-06-19 Thread CodeHeads
Hello all, I am having a problem trying to get the subject corenspond with the message ID on a search. here is my code so far: echo h1Search Results/h1; $WORDS = $_POST['words']; $search1 = BODY \$WORDS\; $SEARCH = @imap_search($conn, $search1, SE_UID); $arrData = $SEARCH; $mailHeader =

Re: [PHP] IMAP Search

2006-06-19 Thread Richard Lynch
Of all the functions to use @ with, and to ignore error messages and warnings, IMAP is the *last* one you want to do that with. Add some error checking, and just forget using @ Meanwhile, both your questions didn't actually have a question, nor any explanation of what was going wrong or right

Re: [PHP] IMAP Search

2006-06-19 Thread CodeHeads
On Mon, June 19, 2006 7:12 pm, Richard Lynch wrote: Of all the functions to use @ with, and to ignore error messages and warnings, IMAP is the *last* one you want to do that with. Add some error checking, and just forget using @ Meanwhile, both your questions didn't actually have a question,

Re: [PHP] IMAP Search

2006-06-19 Thread Jochem Maas
CodeHeads wrote: ... U, you referred me to a page about smart questions..what about your TOP posting? Richard has more than enough karma on this list to get away with a top-post every half hour or so. Nevermind, I see the PHP list is filled with smart asses so I will find it