Re: [PHP] imap_header timing out

2003-07-08 Thread Amer Neely
> Is error_reporting in your php.ini set to "E_ALL & ~E_NOTICE" ? > It's the default: error_reporting = E_ALL -- /* All outgoing email scanned by AVG Antivirus /* Amer Neely, Softouch Information Services W: www.softouch.on.ca E: [EMAIL PROTECTED] V: 519.438.5887 Perl | PHP | MySQL | CGI progr

Re: [PHP] imap_header timing out

2003-07-08 Thread Adam Voigt
Is error_reporting in your php.ini set to "E_ALL & ~E_NOTICE" ? On Tue, 2003-07-08 at 13:09, Amer Neely wrote: > > Put: > > > > set_time_limit(0); > > > > At the top of your script. > > Excellent! That worked, thank you. > > Now I'm getting .. > [08-Jul-2003 12:32:46] PHP Notice: (null)(): U

Re: [PHP] imap_header timing out

2003-07-08 Thread Amer Neely
> Put: > > set_time_limit(0); > > At the top of your script. Excellent! That worked, thank you. Now I'm getting .. [08-Jul-2003 12:32:46] PHP Notice: (null)(): Unexpected characters at end of address: <> (errflg=3) in Unknown on line 0 And the output is a blank html page, but the source code

Re: [PHP] imap_header timing out

2003-07-08 Thread Adam Voigt
Put: set_time_limit(0); At the top of your script. On Tue, 2003-07-08 at 12:45, Amer Neely wrote: > I've a script reading a mailbox using > $InBox = imap_open($Host,$User,$Pass); > $NumMsgs=imap_num_msg($InBox); > for ($i=1; $i <= $NumMsgs; $i++) > { > $Header=imap_header($InBox,$i); # this is

[PHP] imap_header timing out

2003-07-08 Thread Amer Neely
I've a script reading a mailbox using $InBox = imap_open($Host,$User,$Pass); $NumMsgs=imap_num_msg($InBox); for ($i=1; $i <= $NumMsgs; $i++) { $Header=imap_header($InBox,$i); # this is line 154 . . . and so on. With 12 messages in the mailbox this works fine, but with 15 it comes back as timed out