Jump to content

Recommended Posts

Hello,

 

Ive got a script to copy a file from a remote server to my server, It takes around 10 seconds to execute.

 

How can i show an animated gif with a processing bar while the remote transfer is taking place, Rather then just hanging the browser.

 

Thanks

Olli460

Link to comment
https://forums.phpfreaks.com/topic/174791-showing-an-image-while-script-loads/
Share on other sites

open the page with just plain old javascript and html, then use ajax to open the file moving page, then wait for a complete, or some return from the ajax request, then when it does return something or is 'complete' just navigate to another page with javascript.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.