Re: Re: Command line output
| From: | Jason Wong | Date: | Wed, 19 Nov 2003 06:54:04 +0000 |
| Subject: | Re: Re: Command line output | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-170245@lists.php.net to get a copy of this message | ||
On Wednesday 19 November 2003 06:54, Shawn McKenzie wrote:
> hey great thanks :(
>
> "Shawn McKenzie" <nospam@mckenzies.net> wrote in message
> news:20031118194211.69527.qmail@pb1.pair.com...
>
> > O.K. I am just now experimenting with the CLI PHP and have another
> > question. With the following code, none of the echo output is seen until
> > the script completes. I even tried adding a flush() after the first echo
> > before the imap_open, but still the same behavior. Any ideas?
> >
> > echo "Connecting to $server: $mbox ...\n\n";
> > $conn = imap_open("{" . $server . ":143/notls/norsh}" . $mbox, $user,
> > $pass);
> >
> > echo "Receiving messages ...\n\n";
> > for ($i = 1; $i <= imap_num_msg($conn); $i++) {
> > ...etc...
> >
> > Thanks!
> > -Shawn
Sorry to butt in and disrupt the conversation that you're having with yourself
and evidently enjoying, try disabling "output_buffering" in php.ini.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
"My father? My father left when I was quite young. Well actually, he
was asked to leave. He had trouble metabolizing alcohol."
-- George Carlin
*/