[PHP] Displaying content on the fly

2001-11-23 Thread Darren Gamble

Good day,

I've been using both Perl and PHP for some time now for dynamic content.
I'm presently running PHP4 as an apache module.

One difference that I've noticed is that PHP doesn't produce any output
until the script is complete, whereas with Perl one could print doing
this...  , perform something, done. messages when performing long tasks.

Is there any way to have this enabled?  It would be quite appreciated, as I
have a few web pages that perform very heavy database work and I would like
to make the output hot so that I can print out statements as it
progresses- and if there is a problem, the user will be able to identify
where it failed.

There doesn't appear to be a php.ini directive that does this, though...

Thanks in advance,


Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue SW
Calgary, Alberta, Canada
T2P 4L4
(403) 781-4948


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Displaying content on the fly

2001-11-23 Thread Richard Black

Try using the flush(); function. It flushes all output to the browser, and allows 
exactly the type of thing you're talking about here

-Original Message-
From:   Darren Gamble [SMTP:[EMAIL PROTECTED]]
Sent:   23 November 2001 16:17
To: '[EMAIL PROTECTED]'
Subject:[PHP] Displaying content on the fly

Good day,

I've been using both Perl and PHP for some time now for dynamic content.
I'm presently running PHP4 as an apache module.

One difference that I've noticed is that PHP doesn't produce any output
until the script is complete, whereas with Perl one could print doing
this...  , perform something, done. messages when performing long tasks.

Is there any way to have this enabled?  It would be quite appreciated, as I
have a few web pages that perform very heavy database work and I would like
to make the output hot so that I can print out statements as it
progresses- and if there is a problem, the user will be able to identify
where it failed.

There doesn't appear to be a php.ini directive that does this, though...

Thanks in advance,


Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue SW
Calgary, Alberta, Canada
T2P 4L4
(403) 781-4948


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Displaying content on the fly

2001-11-23 Thread Darren Gamble

Good day,

Thanks for the reply!  I was not quite sure how this would be phrased
(searching for on the fly on the page causes an error to be returned).


Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue SW
Calgary, Alberta, Canada
T2P 4L4
(403) 781-4948


-Original Message-
From: Richard Black [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 23, 2001 9:31 AM
To: 'Darren Gamble'; '[EMAIL PROTECTED]'
Subject: RE: [PHP] Displaying content on the fly


Try using the flush(); function. It flushes all output to the browser, and
allows exactly the type of thing you're talking about here

-Original Message-
From:   Darren Gamble [SMTP:[EMAIL PROTECTED]]
Sent:   23 November 2001 16:17
To: '[EMAIL PROTECTED]'
Subject:[PHP] Displaying content on the fly

Good day,

I've been using both Perl and PHP for some time now for dynamic content.
I'm presently running PHP4 as an apache module.

One difference that I've noticed is that PHP doesn't produce any output
until the script is complete, whereas with Perl one could print doing
this...  , perform something, done. messages when performing long tasks.

Is there any way to have this enabled?  It would be quite appreciated, as I
have a few web pages that perform very heavy database work and I would like
to make the output hot so that I can print out statements as it
progresses- and if there is a problem, the user will be able to identify
where it failed.

There doesn't appear to be a php.ini directive that does this, though...

Thanks in advance,


Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue SW
Calgary, Alberta, Canada
T2P 4L4
(403) 781-4948


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]