Re: Re: refreshing fopen
| From: | Lars Torben Wilson | Date: | Tue, 17 Jun 2003 21:20:22 +0000 |
| Subject: | Re: Re: refreshing fopen | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-151908@lists.php.net to get a copy of this message | ||
On Tue, 2003-06-17 at 14:10, Bryan Koschmann - GKT wrote:
> On Tue, 17 Jun 2003, Terje Torkelsen wrote:
>
> >
> > PHP is server-side language, so this would be possible. Would go for meta tag
> > or a javascript.
>
>
> I know, but I thought I saw somewhere there was a way to do this using
> flush() and something else, maybe for use with a progress bar type thing?
>
> I know http is not an always open type protocol, but I still thought there
> was a way. Meta refresh just won't work correctly..
>
> Thanks,
I think you're talking about server push. In general you can only use
this with Netscape and Mozilla, but the page I link to below intimates
that you might be able to tie in with some Java or somesuch to make IE
do it too. Myself, I've never tried it, so YMMV. Anyway, do some
googling on 'server push' and check this out for a ready-made script:
http://web.they.org/software/php-push.html
Good luck,
Torben
--
Torben Wilson <torben@php.net> +1.604.709.0506
http://www.thebuttlesschaps.com http://www.inflatableeye.com
http://www.hybrid17.com http://www.themainonmain.com
-----==== Boycott Starbucks! http://www.haidabuckscafe.com ====-----