Re: [PHP] problem with for loop

2008-05-02 Thread Richard Kurth
Nathan Nobbe wrote: On Fri, May 2, 2008 at 1:20 AM, Richard Kurth <[EMAIL PROTECTED] > wrote: Way does my for loop not complete the task if there are 4 emails it only process 3 emails through the foreach loop if there is 3 it only process 2 $file=file_

Re: [PHP] problem with for loop

2008-05-02 Thread Nathan Nobbe
On Fri, May 2, 2008 at 1:20 AM, Richard Kurth <[EMAIL PROTECTED]> wrote: > Way does my for loop not complete the task if there are 4 emails it only > process 3 emails through the foreach loop if there is 3 it only process 2 > > $file=file_get_contents("C:\web\bouncehandler\eml\em$i"); > $multiArra

[PHP] problem with for loop

2008-05-02 Thread Richard Kurth
Way does my for loop not complete the task if there are 4 emails it only process 3 emails through the foreach loop if there is 3 it only process 2 # Connect up $host ="domain.com"; $port ="110"; $mailtype = "pop3"; $mailbox ="INBOX"; $username ="[EMAIL PROTECTED]"; $