Reply to Re: "Please wait" - popup

Your name:

Reply:


Posted by kenoli on 12/09/06 18:51

Here's one:

<?php
// Output a 'waiting message'
echo 'Please wait while this task completes';

// Now while waiting for a certain task to complete, keep outputting
..'s
while (true) {
// Echo an extra dot, and flush the buffers to ensure it gets
displayed.
echo ' .';
flush();

// Now sleep for 1 second and check again:
sleep(1);
}
?>

scheper at xs4all dot nl wrote:
> J.O. Aho wrote:
> > Geoff Berrow wrote:
> >
> >> Message-ID: <4577d997$0$336$e4fe514c@news.xs4all.nl> from scheper at
> >> xs4all dot nl contained the following:
> >>
> >>> It works fine. It only takes more time to "upload" the image. So i
> >>> like to add a kind of "please wait" feature. Maybe in a popup? A
> >>> progress-bar would be nice.
> >>>
> >>> Does anyone can help me out on this?
> >>
> >>
> >> There is one here but the demo doesn't work
> >>
> >> http://www.raditha.com/php/progress.php
> >>
> >> I've not tried it yet.
> >
> >
> > It won't work in all browser, as it uses jscript and not javascript, and
> > microsoft hasn't released it under any public license.
> >
> >
> > //Aho
>
> Yep, i have seen this one. Maybe that is not what i realy want (to
> complicated also). Is there another way to inform the people? Now they
> have to wait and are not sure anything happens.
>
> Mark

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация