This is a discussion on Preloading within the PHP Language forums, part of the PHP Programming Forums category; Hy Ng, I have a script who need some time to load, ca 3 sec. What I want to do ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hy Ng,
I have a script who need some time to load, ca 3 sec. What I want to do is showing a "preloader" page while the page is loading. How can I make this "preloader" page? Another question, Is there a way, in PHP, to show the status while uploading files. Thanks, Seb |
|
|||
|
Hi Seb,
If the page loads slowly because of server processing, you could create an intermediary page that informs the visitor to please wait while their request is being processed and contains a <META REFRESH... > to the slow page. The first page will show until the server starts sending back content. If it's slow because of the content (images, etc.) I think you could only do it in javascript. Same with uploading files. - Kevin "SB" <buschdesign@free.fr> wrote in message news:41c5608e$0$21960$626a14ce@news.free.fr... > Hy Ng, > I have a script who need some time to load, ca 3 sec. What I want to do is > showing a "preloader" page while the page is loading. > How can I make this "preloader" page? > > Another question, > Is there a way, in PHP, to show the status while uploading files. > > Thanks, > > Seb > > |
|
|||
|
SB wrote:
> Hy Ng, > I have a script who need some time to load, ca 3 sec. What I want to do is > showing a "preloader" page while the page is loading. > How can I make this "preloader" page? JavaScript. Google for it. > Another question, > Is there a way, in PHP, to show the status while uploading files. Look at this thread <http://groups.google.com/groups?as_umsgid=42f90a1a.0402252007.72d72cba@post ing.google.com> -- <?php echo 'Just another PHP saint'; ?> Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/ |