RE: [PHP] Sending data to browser periodically
| From: | Ben Wiechman | Date: | Fri, 06 Oct 2000 14:28:11 +0000 |
| Subject: | RE: [PHP] Sending data to browser periodically | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-18884@lists.php.net to get a copy of this message | ||
Doh! lol
Didn't have time to check. Was a try... :)
Ben
-----Original Message-----
From: Clive Hughes [mailto:clive_a_hughes@hotmail.com]
Sent: Friday, October 06, 2000 0925 Neteru
To: Ben Wiechman; Php-General
Subject: Re: [PHP] Sending data to browser periodically
Ben,
No fork() command exists in PHP unfortunately.
--Clive
----- Original Message -----
From: "Ben Wiechman" <neteru@aminal.net>
To: "Php-General" <php-general@lists.php.net>
Sent: Friday, October 06, 2000 3:15 PM
Subject: RE: [PHP] Sending data to browser periodically
> Would it not work to fork a new process with the only job in life to send
> periodic output to the browser?
>
> I know you can fork a new process in perl, I haven't looked at PHP to see
if
> you can do this, but if PHP will let you fork a new process, that might be
> an option. Parent process can handle your request. Child can print data to
> the browser, then sleep. Provided PHP will let you fork() and sleep().
>
> Anyone know any more about this?
>
> Ben
>
> -----Original Message-----
> From: Boget, Chris [mailto:Chris.Boget@wild.net]
> Sent: Friday, October 06, 2000 0855 Neteru
> To: 'moshe doron'; php-general@lists.php.net
> Subject: RE: [PHP] Sending data to browser periodically
>
>
> > echo "\r\n"; flush();
>
> This won't work if the back end is hung up on a
> query that is taking > 5 minutes to run.
>
> Chris
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net