Bluehost.com Web Hosting $6.95

Preloading

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 ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-19-2004
SB
 
Posts: n/a
Default Preloading

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


Reply With Quote
  #2 (permalink)  
Old 12-19-2004
Kevin
 
Posts: n/a
Default Re: Preloading

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
>
>



Reply With Quote
  #3 (permalink)  
Old 12-19-2004
R. Rajesh Jeba Anbiah
 
Posts: n/a
Default Re: Preloading

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/

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 02:32 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0