You are here: Re: "Please wait" - popup « All PHP « IT news, forums, messages
Re: "Please wait" - popup

Posted by J.O. Aho on 12/10/06 13:14

scheper at xs4all dot nl wrote:

> Thanks again. But it is not the dots what i am concerned about. It is
> the script. It is not getting out of the while loop, so it is not doing
> anything except printing out some stuff. How can i get the other code to
> execute?

You have to make a while-loop that checks that what you are doing is finished
or not, this don't really work on uploads in an easy way, it's more for server
side work, like processing data from a huge database, sending millions of spam
and so on.

For your upload it's easier to use a small javascript that is executed when
pressing the submit button on the upload form
(onClick="execute_this_javascript_function(); return true;"), all the script
has to do, is to open a new window and load a wait page. How to write a nice
script, if you can't find one with help of google, then ask about it on a
javascript newsgroup and say you want javascript and not jscript solution.


//Aho

 

Navigation:

[Reply to this 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

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