olli460 Posted September 19, 2009 Share Posted September 19, 2009 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 Quote Link to comment https://forums.phpfreaks.com/topic/174791-showing-an-image-while-script-loads/ Share on other sites More sharing options...
RussellReal Posted September 19, 2009 Share Posted September 19, 2009 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. Quote Link to comment https://forums.phpfreaks.com/topic/174791-showing-an-image-while-script-loads/#findComment-921163 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.